Managing Enterprise Servers Portfolio


By: John David Lamzon




Project maintained by jdlamzon-tip

Hands-on Activity 5: Implement Ansible roles in playbooks



Follow the procedure:

1. Fork this repository https://github.com/ajcanlas-tip/sysad2-12021.git 2. Clone your newly forked repository. 3. Make a new branch named "activity4" from master branch using git branch activity5 and
git checkout activity5.

Note: To Prevent Conflicts Create a directory with your username as its name and go inside of it, and create a directory called “activity4” and go inside it.
4. Make a new remote upstream with git remote add upstream https://github.com/ajcanlas-tip/sysad2-12021.git 5. Optimize the playbook in Hands-on Activity 4: Ansible Playbooks 6. Add,commit and push it to your activity5 branch 7. Request a pull request for the master branch in https://github.com/ajcanlas-tip/sysad2-12021.git
and activity5 branch of your forked repository

Output:


GitHub Page

Directory Summary:

. ├── jdlamzon-tip │   └── activity5 │   ├── ansible.cfg │   ├── inventory │   ├── playbook.yaml │   └── roles │   ├── centos-install │   │   ├── defaults │   │   │   └── main.yml │   │   ├── handlers │   │   │   └── main.yml │   │   ├── meta │   │   │   └── main.yml │   │   ├── README.md │   │   ├── tasks │   │   │   └── main.yml │   │   ├── tests │   │   │   ├── inventory │   │   │   └── test.yml │   │   └── vars │   │   └── main.yml │   └── ubuntu-install │   ├── defaults │   │   └── main.yml │   ├── handlers │   │   └── main.yml │   ├── meta │   │   └── main.yml │   ├── README.md │   ├── tasks │   │   └── main.yml │   ├── tests │   │   ├── inventory │   │   └── test.yml │   └── vars │   └── main.yml └── README.md 17 directories, 20 files