Bugfix: Ansible Install (#78)
* Script Rechte rsa-file setzen * python als default package * Bugfix: Install ansible mit pip * Script permissions umbenannt und um vault-pass ergänzt
This commit is contained in:
parent
4818ef25ef
commit
1e4a75e935
4 changed files with 7 additions and 1 deletions
|
@ -7,3 +7,4 @@
|
||||||
- name: Jinja2
|
- name: Jinja2
|
||||||
### geerlingguy.ansible
|
### geerlingguy.ansible
|
||||||
ansible_install_method: pip
|
ansible_install_method: pip
|
||||||
|
ansible_install_version_pip: '2.10'
|
||||||
|
|
4
permissions.sh
Normal file
4
permissions.sh
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
sudo chmod 400 /home/mg/ansible/id_rsa_ansible_user
|
||||||
|
sudo chmod 400 /home/mg/ansible/vault-pass.yml
|
||||||
|
# Datei muss Zeilenende LF haben
|
|
@ -2,5 +2,5 @@
|
||||||
- hosts: ansible
|
- hosts: ansible
|
||||||
roles:
|
roles:
|
||||||
- { role: geerlingguy.pip, tags: "pip", become: true }
|
- { role: geerlingguy.pip, tags: "pip", become: true }
|
||||||
- { role: geerlingguy.ansible, tags: "ansible" }
|
- { role: geerlingguy.ansible, tags: "ansible", become: true }
|
||||||
- { role: mgrote.ansible, tags: "ansible-mg" }
|
- { role: mgrote.ansible, tags: "ansible-mg" }
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
- neofetch
|
- neofetch
|
||||||
- ntpdate
|
- ntpdate
|
||||||
- acl
|
- acl
|
||||||
|
- python3
|
||||||
programs_only_physical:
|
programs_only_physical:
|
||||||
- hddtemp
|
- hddtemp
|
||||||
- ipmitool
|
- ipmitool
|
||||||
|
|
Loading…
Reference in a new issue