This commit is contained in:
Michael Grote 2021-01-31 14:30:14 +01:00
parent cfcd6e53c9
commit 4d4fa7fdfe
3 changed files with 2 additions and 3 deletions

View file

@ -34,7 +34,7 @@ default('GitLab-Runner') }}" <-- wenn Inhalt leer, dann default...
`ansible-playbook-grapher --include-role-tasks tests/fixtures/with_roles.yml` `ansible-playbook-grapher --include-role-tasks tests/fixtures/with_roles.yml`
## example-cli ## example-cli
`ansible-playbook playbooks/base/0_master.yml -i inventory --key-file id_rsa_ansible_user --limit jenkins-test.grote.lan` `ansible-playbook playbooks/base/0_master.yml -i inventory --key-file id_rsa_ansible_user --vault-password-file vault-pass.yml --limit jenkins-test.grote.lan`
## install necessary collections ## install necessary collections
`ansible-galaxy collection install -r requirements.yml` `ansible-galaxy collection install -r requirements.yml`

View file

@ -6,7 +6,6 @@ roles_path = ./roles
lookup_plugins = ./plugins/lookup lookup_plugins = ./plugins/lookup
collections_paths = ./ansible_collections collections_paths = ./ansible_collections
private_key_file = ./id_rsa_ansible_user private_key_file = ./id_rsa_ansible_user
#vault_password_file = ./vault-pass.yml
[inventory] [inventory]
[privilege_escalation] [privilege_escalation]

View file

@ -6,6 +6,6 @@
tags: "tmux", tags: "tmux",
when: "not 'virt' in group_names" } when: "not 'virt' in group_names" }
- { role: geerlingguy.dotfiles, - { role: geerlingguy.dotfiles,
become_user: "{{ dotfiles_user }}" , # become_user: "{{ dotfiles_user }}" ,
become: true, become: true,
tags: "dotfiles" } tags: "dotfiles" }