ttomecek added a new comment to an issue you are following:
``
I just verified it works just fine:
```
$ vagrant ssh
Last login: Tue Feb 27 16:32:13 2018 from 192.168.121.1
[vagrant@localhost ~]$ rpm-ostree status
State: idle; auto updates disabled
Deployments:
● ostree://fedora-atomic:fedora/27/x86_64/atomic-host
Version: 27.93 (2018-02-25 20:49:19)
BaseCommit:
da0bd968610aa1e29c5bb37065649407fbbfffa53e63831afdadbd34a3b05327
GPGSignature: Valid signature by 860E19B0AFA800A1751881A6F55E7430F5282EE4
RemovedBasePackages: python-docker-py-1:1.10.6-5.fc27.noarch
LayeredPackages: python2-docker
ostree://fedora-atomic:fedora/27/x86_64/atomic-host
Version: 27.93 (2018-02-25 20:49:19)
Commit:
da0bd968610aa1e29c5bb37065649407fbbfffa53e63831afdadbd34a3b05327
GPGSignature: Valid signature by 860E19B0AFA800A1751881A6F55E7430F5282EE4
```
I used this simple playbook:
```
---
- hosts: all
become: true
tasks:
- docker_image:
name: fedora:27
state: present
- docker_container:
image: fedora:27
name: hello
command: 'echo "hello atomic!"'
- command: docker logs hello
register: out
- assert:
that: "'hello atomic!' in out.stdout"
```
with this Vagrantfile:
```
Vagrant.configure("2") do |config|
hostname = "F27-AH"
locale = "en_US.UTF.8"
# Box
config.vm.box = "F27-atomic"
config.vm.provision "ansible" do |ansible|
ansible.playbook = "playbook.yml"
end
end
```
The play passed:
```
$ vagrant provision
==> default: Running provisioner: ansible...
Vagrant has automatically selected the compatibility mode '2.0'
according to the Ansible version installed (2.4.3.0).
Alternatively, the compatibility mode can be specified in your Vagrantfile:
https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibi...
default: Running ansible-playbook...
PLAY [all] *********************************************************************
TASK [Gathering Facts] *********************************************************
ok: [default]
TASK [docker_image] ************************************************************
changed: [default]
TASK [docker_container] ********************************************************
changed: [default]
TASK [command] *****************************************************************
changed: [default]
TASK [assert] ******************************************************************
ok: [default] => {
"changed": false,
"msg": "All assertions passed"
}
PLAY RECAP *********************************************************************
default : ok=5 changed=3 unreachable=0 failed=0
```
Please let me know if you run into some issues with the openshift roles you were
mentioning.
``
To reply, visit the link below or just reply to this email
https://pagure.io/atomic-wg/issue/413