Ansible: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 6: Line 6:


== Playbook ==
== Playbook ==
chorke-academia-project
├─ main_playbook.yml
└─ inventories/
    ├─ staging/
    │  └─ academia/
    │    ├─ group_vars/
    │    │  ├─ all.yaml
    │    │  └─ academia_group.yaml
    │    └─ inventory.yml
    └─ test/
      └─ academia/
          ├─ group_vars/
          │  ├─ all.yaml
          │  └─ academia_group.yaml
          └─ inventory.yml


== Modules ==
== Modules ==

Revision as of 05:46, 26 November 2022

sudo apt update  && sudo apt list  --upgradeable
sudo apt upgrade && sudo apt install ansible
ansible --version

Playbook

chorke-academia-project
├─ main_playbook.yml
└─ inventories/
   ├─ staging/
   │  └─ academia/
   │     ├─ group_vars/
   │     │  ├─ all.yaml
   │     │  └─ academia_group.yaml
   │     └─ inventory.yml
   └─ test/
      └─ academia/
         ├─ group_vars/
         │   ├─ all.yaml
         │   └─ academia_group.yaml
         └─ inventory.yml

Modules





Namespaces


References