戻る
■環境の構築
※SELinuxを無効化しておく ※apache_php7_mariadb のPlaybookで環境を作成 $ sudo su - # python --version Python 2.7.5 # yum -y install epel-release # yum -y install ansible # ansible --version ansible 2.9.7 # vi /etc/ansible/hosts
[localhost] 127.0.0.1
# exit $ cd /var/www/ansible $ ansible-playbook site.yml --connection=local http://192.168.33.10/