Skip to content

lagbouri/AnsibleRoles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AnsibleRoles

test for awx avec repo github

add new organisation

Capture d’écran 2022-08-26 164536

add new inventory "test" with one ec2-instance

Capture d’écran 2022-08-26 164651 Capture d’écran 2022-08-26 164900

ceate new project with github scm ("test-playbooks")

check the github repo that contains the ansible playbook that we will run against ec-2 machine Capture d’écran 2022-08-26 165035

playbook it's just for test with motd task

- name: Configure systems
  hosts: 15.188.50.218
  become: yes

  tasks:

- name: Call Roles
  hosts: 15.188.50.218
  roles:
   #- hostname
   #- firewalld
   #- ntp-config
   - motd

add a template "configure motd" to the project "test-playbooks"

Capture d’écran 2022-08-26 165932 Capture d’écran 2022-08-26 170038

running the playbook within the template

Capture d’écran 2022-08-26 170255

the playbook was running succesfully in our ec2-instance

Capture d’écran 2022-08-26 170351

About

test for awx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jinja 100.0%