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:
Quotengrote 2020-12-02 14:32:50 +01:00 committed by GitHub
parent 4818ef25ef
commit 1e4a75e935
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 1 deletions

View file

@ -7,3 +7,4 @@
- name: Jinja2
### geerlingguy.ansible
ansible_install_method: pip
ansible_install_version_pip: '2.10'

4
permissions.sh Normal file
View 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

View file

@ -2,5 +2,5 @@
- hosts: ansible
roles:
- { 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" }

View file

@ -20,6 +20,7 @@
- neofetch
- ntpdate
- acl
- python3
programs_only_physical:
- hddtemp
- ipmitool