インフラエンジニアの技術ブログ

日々学んでいることをブログでまとめていきます。

Ansible AWKインストール_docker起動で失敗

software design[超速]入門Ansilbeの特集があった。

ansible awkの特集もあったので、導入にチャレンジした。

ただし、途中のdocker(Ansible AWKで利用するパッケージ)起動で失敗。

現在調査中。

 

■導入環境

centos7.2

 

■実行コマンド(rootで実行)

#yum install -y epel-release
#yum install -y https://releases.ansible.com/ansible/rpm/releasse/epel-7-x86_64/ansible-2.7.0-1.el7.ans.noarch.rpm
#ansible --version
ansible 2.7.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, Nov 20 2015, 02:00:19) [GCC 4.8.5 20150623 (Red Hat 4.8.5-4)]

#yum install -y docker git

[root@centos72 ~]# systemctl start docker.service
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

 

エラー発生

 

[root@centos72 ~]# systemctl status docker.service
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

[root@centos72 ~]# journalctl -xe
12月 08 23:33:16 centos72 systemd[1]: docker-storage-setup.service failed.
12月 08 23:33:16 centos72 systemd[1]: Starting Docker Application Container Engi
-- Subject: Unit docker.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.service has begun starting up.
12月 08 23:33:16 centos72 dockerd-current[2000]: time="2018-12-08T23:33:16.29831
12月 08 23:33:16 centos72 dockerd-current[2000]: time="2018-12-08T23:33:16.31141
12月 08 23:33:17 centos72 dockerd-current[2000]: time="2018-12-08T23:33:17.33246
12月 08 23:33:18 centos72 dockerd-current[2000]: Error starting daemon: SELinux
12月 08 23:33:18 centos72 systemd[1]: docker.service: main process exited, code=
12月 08 23:33:18 centos72 systemd[1]: Failed to start Docker Application Contain
-- Subject: Unit docker.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit docker.service has failed.
--
-- The result is failed.
12月 08 23:33:18 centos72 systemd[1]: Unit docker.service entered failed state.
12月 08 23:33:18 centos72 systemd[1]: docker.service failed.
12月 08 23:33:18 centos72 polkitd[938]: Unregistered Authentication Agent for un
lines 2368-2390/2390 (END)lines 2368-2390/2390 (END)lines 2368-2390/2390 (END)