This file contains hidden or 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
PLAY [all] ********************************************************************* | |
TASK [Check cert expirys on host] ********************************************** | |
ok: [192.168.124.11] => { | |
"changed": false, | |
"check_results": { | |
"certs": [ | |
{ | |
"cert_cn": "192.168.124.11", | |
"days_remaining": 717, |
This file contains hidden or 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
PLAY [all] ********************************************************************* | |
TASK [Check cert expirys on host] ********************************************** | |
ok: [192.168.124.110] => { | |
"changed": false, | |
"check_results": { | |
"certs": [ | |
{ | |
"cert_cn": "192.168.124.110", | |
"days_remaining": 717, |
This file contains hidden or 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
- hosts: all | |
# oo_first_master | |
become: yes | |
gather_facts: no | |
tasks: | |
- name: Check cert expirys on host | |
openshift_cert_expiry: | |
openshift_config_base: "{{ openshift.common.config_base }}" |
This file contains hidden or 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
Play 26/30 (Create Hosted Resources) | |
............................................................................................................................................................................................................................................ | |
Play 27/30 (Configure CA certificate for secure registry) | |
......... | |
192.168.124.148 : ok=487 changed=21 unreachable=0 failed=0 | |
localhost : ok=15 changed=9 unreachable=0 failed=0 | |
Installation Complete: Note: Play count is an estimate and some were skipped because your install does not require them |
This file contains hidden or 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
---------------------------------- | |
Beginning play 1 of 5 | |
TASK [Verify Ansible version is greater than or equal to 2.1.0.0] ************** | |
---------------------------------- | |
Beginning play 2 of 5 | |
TASK [include_vars] ************************************************************ |
This file contains hidden or 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
statically included: /home/tbielawa/rhat/os/openshift-ansible/roles/docker/tasks/udev_workaround.yml | |
statically included: /home/tbielawa/rhat/os/openshift-ansible/roles/openshift_version/tasks/set_version_rpm.yml | |
statically included: /home/tbielawa/rhat/os/openshift-ansible/roles/openshift_version/tasks/set_version_containerized.yml | |
statically included: /home/tbielawa/rhat/os/openshift-ansible/roles/docker/tasks/udev_workaround.yml | |
statically included: /home/tbielawa/rhat/os/openshift-ansible/roles/openshift_version/tasks/set_version_rpm.yml | |
statically included: /home/tbielawa/rhat/os/openshift-ansible/roles/openshift_version/tasks/set_version_containerized.yml | |
statically included: /home/tbielawa/rhat/os/openshift-ansible/roles/docker/tasks/udev_workaround.yml | |
statically included: /home/tbielawa/rhat/os/openshift-ansible/roles/openshift_version/tasks/set_version_rpm.yml | |
statically included: /home/tbielawa/rhat/os/openshift-ansible/roles/openshift_version/tasks/set_version_containerized.yml | |
statically included |
This file contains hidden or 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
PLAY [localhost] *************************************************************** | |
TASK [Verify Ansible version is greater than or equal to 2.1.0.0] ************** | |
skipping: [localhost] | |
PLAY [localhost] *************************************************************** | |
TASK [include_vars] ************************************************************ | |
ok: [localhost] |
This file contains hidden or 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
ansible_callback_facts_yaml: /home/tbielawa/.config/openshift/.ansible/callback_facts.yaml | |
ansible_config: /usr/share/atomic-openshift-utils/ansible.cfg | |
ansible_inventory_path: /home/tbielawa/.config/openshift/hosts | |
ansible_log_path: /tmp/ansible.log | |
deployment: | |
ansible_ssh_user: root | |
hosts: | |
- connect_to: m01.example.com | |
hostname: m01.example.com | |
openshift_scheduleable: false |
This file contains hidden or 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
diff --git a/filter_plugins/oo_filters.py b/filter_plugins/oo_filters.py | |
index 053de77..7b241e2 100644 | |
--- a/filter_plugins/oo_filters.py | |
+++ b/filter_plugins/oo_filters.py | |
@@ -16,6 +16,7 @@ import pkg_resources | |
import re | |
import json | |
import yaml | |
+from ansible.parsing.yaml.dumper import AnsibleDumper | |
from ansible.utils.unicode import to_unicode |
This file contains hidden or 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
From 3f5e97c3a2d1321cae918ec18ef5645bef4744cc Mon Sep 17 00:00:00 2001 | |
From: Tim Bielawa <[email protected]> | |
Date: Tue, 6 Sep 2016 16:41:08 -0700 | |
Subject: [PATCH] Fix for objects which can't be converted by the YAML parser | |
* Ansible parsed vars into special Ansible helper objects | |
* Manually cast each var into a normal string as applicable | |
--- | |
filter_plugins/oo_filters.py | 16 ++++++++++++++-- | |
1 file changed, 14 insertions(+), 2 deletions(-) |