コード:
Container.yml:
バージョン: '2' 設定: コンダクター: ベース: centos:7 サービス: ansible.nginx-container: from: "nginx:base" ロール: - nginx_container ポート: - "80:3000" ユーザー: rootコマンド: [nginx,-g,'daemon off'] レジストリ: {}
OS/環境:
Ansible Container, version 0.9.2 Linux, 3.10.0-327.13.1.el7.x86_64, #1 SMP Mon Feb 29
[GCC 4.8.5 20150623 (Red Hat 4.8.5-14)] /usr/bin/python
**Commands Used**
sudo ansible-container --debug build
sudo ansible-container --debug build --use-local-python
**Expected result:**
Image should be build successfully.
**Actual result:**
Facing module error on /usr/bin/python path.
Error Logs: fatal: [ansible.nginx-container]: FAILED! => {
"changed": false,
"module_stderr": "/bin/sh: /usr/bin/python: not found\n",
"module_stdout": "",
"msg": "MODULE FAILURE",
"rc": 0
}
Please help on steps to resolve this issue.TIA