Anonymous

Not logged in

  • Log in
Notes_Wiki

Ansible playbooks

From Notes_Wiki

Namespaces

  • Page
  • Discussion

More

  • More

Page actions

  • Read
  • View source
  • History

Home > CentOS > CentOS 6.x > System administration tools > ansible > Ansible-playbooks

To run ansible-playbooks use:

ansible-playbook -i <hosts-file> <playbook.yaml>

It is also possible to supply values of various variables using -e "var=value" option. Here host names in playbook will get dereferenced from provided hosts file. Trust based ssh should be present between current host and root@<remote-machine> for script to work properly.

CentOS 7.x playbooks are located at CentOS 7.x ansible playbooks

Example playbooks:

  • Installing_GLPI#Automated_installation
  • Basic_redmine_installation#Automated_installation
  • Automated bind configuration using ansible
  • Automated_rsyslog_server_and_client_configuration
  • Automated configuration of 389-DS using ansible
  • Automated installation of OpenVZ on CentOS using ansible
  • Automated configuration of git over SSH using ansible
  • Automated configuration of php based LDAP password change page
  • HTTP based ansible-pull configuration without-git
  • Configure machines as LDAP client for graphical LDAP user login




Home > CentOS > CentOS 6.x > System administration tools > ansible > Ansible-playbooks

Retrieved from "http://www.sbarjatiya.com/notes_wiki/index.php?title=Ansible_playbooks&oldid=6662"

Navigation

Navigation

  • Main page
  • Recent changes
  • Random page
  • Help about MediaWiki

Wiki tools

Wiki tools

  • Special pages
  • Cite this page

Page tools

Page tools

    Userpage tools

      More

      • What links here
      • Related changes
      • Printable version
      • Permanent link
      • Page information
      • Page logs
      • Creative Commons Attribution-NonCommercial-ShareAlike
      • Powered by MediaWiki
      • This page was last edited on 28 July 2022, at 11:42.
      • Content is available under Creative Commons Attribution-NonCommercial-ShareAlike unless otherwise noted.
      • Privacy policy
      • About Notes_Wiki
      • Disclaimers