Skip to content

Instantly share code, notes, and snippets.

@firemanxbr
Last active January 15, 2018 01:28
Show Gist options
  • Save firemanxbr/33870444c02d2f701264998f259101e0 to your computer and use it in GitHub Desktop.
Save firemanxbr/33870444c02d2f701264998f259101e0 to your computer and use it in GitHub Desktop.
Annotations - DO407: Automation with Ansible I

[CHAPTER 1 - Quiz 1]

Solutions:

1. a

2. d

3. c

4. d

[CHAPTER 1 - Install]

$ sudo dnf install -y python ansible

[CHAPTER 2 - Quiz 1]

Solutions:

1. d

2. b

3. c

[CHAPTER 2 - Configuration]

`$ cat ~/.ansible.cfg

[defaults]

inventory = ./inventory

remote_user = root`

Modules:

$ ansible all -m ping

List of modules:

$ ansible-doc -l

Description of module:

$ ansible-doc ping

[CHAPTER 3 - Playbooks]

'$ ansible-playbook internet.yml'

[CHAPTER 4 - Variables and Inclusions]

none

[CHAPTER 5 - Task Control]

none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment