Closed Mallear closed 6 years ago
Hello,
I'm using kitchen-ansible and kitchen-docker to test my playbook with a docker container. Every time it tries to run a task to stop or start a service, the execution fails.
kitchen-ansible
kitchen-docker
Here is my .kitchen.yml file :
.kitchen.yml
--- driver: name: docker use_sudo: false platforms: - name: amazonlinux-2 driver: image: n0ts/amazonlinux-ansible platform: centos provisioner: name: ansible_playbook hosts: localhost roles_path: roles require_pip: true require_ansible_repo: false ansible_version: "2.6" require_chef_for_busser: false ansible_verbosity: 3 verifier: name: serverspec use_sudo: yes sudo_path: true suites: - name: ldapadmin provisioner: name: ansible_playbook playbook: test/playbook.yml
Am I doing anything wrong or is this kitchen-ansible normal behavior ?
Okay nevermind, that is due to trying to manage services in docker container with service module. That makes no sense.
Closing issue.
Hello,
I'm using
kitchen-ansible
andkitchen-docker
to test my playbook with a docker container. Every time it tries to run a task to stop or start a service, the execution fails.Here is my
.kitchen.yml
file :Am I doing anything wrong or is this
kitchen-ansible
normal behavior ?