Skip to content

Commit 9f80fdc

Browse files
committed
fix: update lab05 docs and ansible validation
1 parent a94566e commit 9f80fdc

23 files changed

Lines changed: 1234 additions & 1 deletion

File tree

.gitignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
11
test
2-
.DS_Store
2+
.DS_Store
3+
4+
# Ansible
5+
*.retry
6+
.vault_pass
7+
ansible/.vault_pass
8+
ansible/inventory/*.pyc
9+
__pycache__/

ansible/ansible.cfg

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
[defaults]
2+
inventory = inventory/hosts.ini
3+
roles_path = roles
4+
host_key_checking = False
5+
remote_user = ubuntu
6+
retry_files_enabled = False
7+
interpreter_python = auto_silent
8+
# Optional: uncomment if you use a local vault password file (do not commit it)
9+
# vault_password_file = .vault_pass
10+
11+
[privilege_escalation]
12+
become = True
13+
become_method = sudo
14+
become_user = root
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
# Main lab requirements (installable from Galaxy in this environment).
3+
# Yandex Cloud dynamic inventory is handled separately via a plugin fallback
4+
# (see docs and `inventory/yandex_cloud_inventory.yml`) because `yandex.cloud`
5+
# is not currently published on Galaxy here.
6+
collections:
7+
- name: community.general
8+
- name: community.docker

0 commit comments

Comments
 (0)