Configure Ansible in Localhost System | Ansible localhost setup configuration

Configure Ansible in Localhost System | Ansible localhost setup configuration

Tech Solutions

55 лет назад

1,056 Просмотров

1. Install Ansible (apt install Ansible )
2. add localhost in (/etc/ansible/hosts)
3. Run ssh-keygen command and enter 3 times
4. apt install ssh (install ssh server and add PermitRootLogin/AllowRoot)
5. Run ssh-copy-id root@localhost and Enter
6. Varify you hosts file (ansible all --list-hosts)

test file copy yaml syntax error
Ссылки и html тэги не поддерживаются


Комментарии: