fix: pacman use become
This commit is contained in:
parent
ff63a6b5e1
commit
78cb57e8c4
@ -23,6 +23,7 @@
|
||||
when: ansible_facts.os_family == 'RedHat'
|
||||
|
||||
- name: Install git for Arch
|
||||
become: true
|
||||
community.general.pacman:
|
||||
name: git
|
||||
state: present
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
- name: Install direnv for Arch
|
||||
become: true
|
||||
community.general.pacman:
|
||||
name:
|
||||
- direnv
|
||||
|
@ -20,6 +20,7 @@
|
||||
when: ansible_facts.os_family == 'RedHat'
|
||||
|
||||
- name: Install zsh for Arch
|
||||
become: true
|
||||
community.general.pacman:
|
||||
name: zsh
|
||||
state: present
|
||||
|
@ -12,6 +12,7 @@
|
||||
when: ansible_facts.os_family == 'Debian'
|
||||
|
||||
- name: Install Golang for Arch
|
||||
become: true
|
||||
community.general.pacman:
|
||||
name: go
|
||||
state: present
|
||||
|
@ -31,6 +31,7 @@
|
||||
when: ansible_facts.os_family == 'RedHat'
|
||||
|
||||
- name: Install opendjdk for Arch
|
||||
become: true
|
||||
community.general.pacman:
|
||||
name:
|
||||
- jdk-openjdk
|
||||
|
@ -29,6 +29,7 @@
|
||||
when: ansible_facts.distribution == 'MacOSX'
|
||||
|
||||
- name: Install Lua for Arch
|
||||
become: true
|
||||
community.general.pacman:
|
||||
name:
|
||||
- lua
|
||||
|
@ -1,6 +1,7 @@
|
||||
- name: Install Node for Arch
|
||||
block:
|
||||
- name: Install Node deps for Arch
|
||||
become: true
|
||||
community.general.pacman:
|
||||
name:
|
||||
- curl
|
||||
@ -8,6 +9,7 @@
|
||||
state: present
|
||||
|
||||
- name: Install Node for Arch
|
||||
become: true
|
||||
community.general.pacman:
|
||||
name:
|
||||
- nodejs
|
||||
|
@ -28,6 +28,7 @@
|
||||
when: ansible_facts.distribution == 'MacOSX'
|
||||
|
||||
- name: Install prereqs for Arch
|
||||
become: true
|
||||
community.general.pacman:
|
||||
name:
|
||||
- wget
|
||||
|
@ -24,6 +24,7 @@
|
||||
when: ansible_facts.os_family == 'Debian'
|
||||
|
||||
- name: Install Pyenv build dependencies for Arch systems
|
||||
become: true
|
||||
community.general.pacman:
|
||||
update_cache: true
|
||||
name:
|
||||
|
@ -16,6 +16,7 @@
|
||||
when: ansible_facts.os_family == 'RedHat'
|
||||
|
||||
- name: Install Ruby for Arch
|
||||
become: true
|
||||
community.general.pacman:
|
||||
name:
|
||||
- ruby
|
||||
|
@ -33,6 +33,7 @@
|
||||
when: ansible_facts.distribution == 'MacOSX'
|
||||
|
||||
- name: Install yamllint for Arch
|
||||
become: true
|
||||
community.general.pacman:
|
||||
name: yamllint
|
||||
state: present
|
||||
|
@ -12,6 +12,7 @@
|
||||
when: ansible_facts.os_family == 'RedHat'
|
||||
|
||||
- name: Update Pacman cache
|
||||
become: true
|
||||
community.general.pacman:
|
||||
update_cache: true
|
||||
when: ansible_facts.distribution == 'Archlinux'
|
||||
|
Loading…
Reference in New Issue
Block a user