roles/common/tasks/main.yml: update
This commit is contained in:
parent
016d1ff5d0
commit
9f6ebc4abc
@ -16,10 +16,14 @@
|
||||
#- name: enable ip_forward
|
||||
# shell: 'echo "net.ipv4.ip_forward = 1" >> /etc/sysctl.conf; echo "net.ipv4.conf.all.proxy_arp = 1" >> /etc/sysctl.conf ; sysctl -p /etc/sysctl.conf'
|
||||
|
||||
- name: Install packages
|
||||
- name: Install packages software-properties-common
|
||||
shell: |
|
||||
sudo apt-get update
|
||||
sudo apt install -y software-properties-common
|
||||
when: (ansible_facts['distribution'] == "Ubuntu") or (ansible_facts['distribution'] == "Debian")
|
||||
|
||||
- name: Install packages vault auditd
|
||||
shell: |
|
||||
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-keyring.gpg
|
||||
echo "deb [signed-by=/usr/share/keyrings/hashicorp-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list > /dev/null
|
||||
sudo apt-get update
|
||||
|
||||
Loading…
Reference in New Issue
Block a user