ansible-playbook -i イベントリファイル playbookファイル --list-tasks
$ ansible-playbook -i test-servers site.yml --list-tasks
playbook: site.yml
play #1 (all): all TAGS: []
tasks:
common : be sure epel repository is installed TAGS: [epel]
common : disable epel repository TAGS: [epel]
common : be sure common packages are installed TAGS: [common-packages]
common : configure sshd_config TAGS: [sshd]
common : be sure ntpd is running and enabled TAGS: [ntpd]
play #2 (wordpress): wordpress TAGS: []
tasks:
wordpress : be sure httpd is installed TAGS: [httpd]
wordpress : create document root TAGS: []
wordpress : be sure httpd is configured TAGS: [httpd]
wordpress : remove httpd welcome.conf TAGS: [httpd]
wordpress : be sure httpd is running and enabled TAGS: [httpd]
wordpress : be sure mysql-server is installed TAGS: [mysqld]
wordpress : be sure mysqld is running and enabled TAGS: [mysqld]
wordpress : Create database TAGS: [mysqld]
wordpress : Create database user TAGS: [mysqld]
wordpress : be sure php is installed TAGS: [php]
wordpress : set timezone in php.ini TAGS: [php]
wordpress : download wordpress package TAGS: [wordpress]
wordpress : extract wordpress tar ball TAGS: [wordpress]
wordpress : generate secret keys TAGS: [wordpress]
wordpress : read secret keys TAGS: [wordpress]
wordpress : configure wp-config.php TAGS: [wordpress]