This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Ansible tests playbook | |
hosts: all | |
remote_user: root | |
tasks: | |
- name: Running PKI setup and creating a tarball with certificates | |
shell: | |
keystone-manage pki_setup --keystone-user keystone --keystone-group keystone && \ | |
cd /etc/keystone/ && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Ansible tests playbook | |
hosts: all | |
remote_user: root | |
tasks: | |
- name: Check if mariadb-libs-5.5.44-2.el7.centos.x86_64 package is installed | |
yum: | |
list=mariadb-libs-5.5*x86_64 | |
register: pkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import json | |
data = { | |
"openstack": { | |
"children": [ | |
"controller" | |
], | |
"vars": { |
NewerOlder