modif upgrade

This commit is contained in:
vincent 2020-01-07 20:44:20 +01:00
parent a5f00c5d24
commit 45da977dc0

View File

@ -1,14 +1,10 @@
- name: upgrade system
- name: launch base install software
pacman: pacman:
state: present # not required. choices: absent;latest;present. Desired state of the package. state: latest # not required. choices: absent;latest;present. Desired state of the package.
name: "{{system_base_softwares}}" name: archlinux-keyring # 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.
become: yes become: yes
when: system_upgrade
- name: install powerline status via pip
pip:
name: powerline-status # not required. The name of a Python library to install or the url(bzr+,hg+,git+,svn+) of the remote package.,This can be a list (since 2.2) and contain version specifiers (since 2.7).
extra_args: --user
- name: upgrade system - name: upgrade system
pacman: pacman:
@ -25,3 +21,15 @@
reboot_timeout: 3600 reboot_timeout: 3600
when: upgrade.changed and "linux" in upgrade.packages and system_upgrade when: upgrade.changed and "linux" in upgrade.packages and system_upgrade
become: yes become: yes
- name: launch base install software
pacman:
state: present # not required. choices: absent;latest;present. Desired state of the package.
name: "{{system_base_softwares}}"
become: yes
- name: install powerline status via pip
pip:
name: powerline-status # not required. The name of a Python library to install or the url(bzr+,hg+,git+,svn+) of the remote package.,This can be a list (since 2.2) and contain version specifiers (since 2.7).
extra_args: --user