diff --git a/tasks/base_software.yml b/tasks/base_software.yml index 1d1c590..9281d8b 100644 --- a/tasks/base_software.yml +++ b/tasks/base_software.yml @@ -1,20 +1,20 @@ -- name: upgrade system - pacman: - state: latest # not required. choices: absent;latest;present. Desired state of the package. - upgrade: true # not required. Whether or not to upgrade whole system. - force: true # not required. When removing package - force remove package, without any checks. When update_cache - force redownload repo databases. - update_cache: true - become: yes - register: upgrade - -- debug: - var: upgrade - -- name: Reboot updates to apply - reboot: - reboot_timeout: 3600 - when: upgrade.changed and "linux" in upgrade.packages - become: yes +#- name: upgrade system +# pacman: +# state: latest # not required. choices: absent;latest;present. Desired state of the package. +# upgrade: true # not required. Whether or not to upgrade whole system. +# force: true # not required. When removing package - force remove package, without any checks. When update_cache - force redownload repo databases. +# update_cache: true +# become: yes +# register: upgrade +# +#- debug: +# var: upgrade +# +#- name: Reboot updates to apply +# reboot: +# reboot_timeout: 3600 +# when: upgrade.changed and "linux" in upgrade.packages +# become: yes - name: launch base install software pacman: diff --git a/tasks/hostname.yml b/tasks/hostname.yml index fd759ef..90b9f3e 100644 --- a/tasks/hostname.yml +++ b/tasks/hostname.yml @@ -1,4 +1,4 @@ - name: Ensure hostname set hostname: name={{ inventory_hostname }} - + become: yes