2020年2月25日火曜日

Ansible で apt update, full-upgrade, install

- hosts: localhost
  tasks:
    - apt:
        update_cache: yes
    - apt:
        update_cache: no
        upgrade: full
        # full-upgrade 後、システム再起動
    - apt:
        update_cache: no
        state: present
        pkg:
          - vim
          - byobu

0 件のコメント:

コメントを投稿