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
May 04 10:38:08 ocp-master ansible-command[12251]: Invoked with _raw_params=curl --silent --tlsv1.2 --max-time 2 --cacert /etc/origin/master/ca-bundle.crt https://172.16.69.25:8443/healthz/ready warn=False _uses_shell=False chdir=None executable=None creates=None removes=None stdin=None | |
May 04 10:38:10 ocp-master ansible-oc_obj[12284]: Invoked with kind=node state=list name=ocp-master kubeconfig=/etc/origin/master/admin.kubeconfig debug=False namespace=default delete_after=False force=False all_namespaces=None files=None content=None selector=None field_selector=None | |
May 04 10:38:10 ocp-master ansible-oc_obj[12285]: Invoked with kind=node state=list name=ocp-node1 kubeconfig=/etc/origin/master/admin.kubeconfig debug=False namespace=default delete_after=False force=False all_namespaces=None files=None content=None selector=None field_selector=None | |
May 04 10:38:10 ocp-master ansible-oc_obj[12286]: Invoked with kind=node state=list name=ocp-node2 kubeconfig=/etc/origin/master/admin.kubeconfig debug=False namespa |
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
#!/bin/python | |
import argparse | |
import tempfile | |
import shutil | |
import subprocess | |
import sys | |
import traceback | |
import requests | |
import logging | |
import re |
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
ansible-playbook 2.4.2.0 | |
config file = /etc/ansible/ansible.cfg | |
configured module search path = [u'/home/vrutkovs/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] | |
ansible python module location = /home/vrutkovs/.local/lib/python2.7/site-packages/ansible | |
executable location = /usr/bin/ansible-playbook | |
python version = 2.7.14 (default, Mar 14 2018, 13:36:31) [GCC 7.3.1 20180303 (Red Hat 7.3.1-5)] | |
Using /etc/ansible/ansible.cfg as config file | |
Parsed /etc/ansible/hosts inventory source with ini plugin | |
[WARNING]: Could not match supplied host pattern, ignoring: all |
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
W0329 20:27:50.464421 1 swagger.go:38] No API exists for predefined swagger description /api/v1 [0/200] | |
[restful] 2018/03/29 20:27:50 log.go:33: [restful/swagger] listing is available at https://ec2-54-237-229-198.compute-1.amazonaws.com:8443/swaggerapi | |
[restful] 2018/03/29 20:27:50 log.go:33: [restful/swagger] https://ec2-54-237-229-198.compute-1.amazonaws.com:8443/swaggerui/ is mapped to folder /swagger-ui/ | |
I0329 20:27:50.530892 1 master.go:455] Starting OAuth2 API at /oauth | |
I0329 20:27:50.543622 1 openshift_apiserver.go:578] Started Origin API at /oapi/v1 | |
W0329 20:27:50.574395 1 swagger.go:38] No API exists for predefined swagger description /api/v1 | |
[restful] 2018/03/29 20:27:50 log.go:33: [restful/swagger] listing is available at https://ec2-54-237-229-198.compute-1.amazonaws.com:8443/swaggerapi | |
[restful] 2018/03/29 20:27:50 log.go:33: [restful/swagger] https://ec2-54-237-229-198.compute-1.amazonaws.com:8443/swaggerui/ is mapped to |
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
openshift_deployment_type: origin | |
openshift_image_tag: "v3.10.0" | |
# Clayton's changes | |
debug_level: 7 | |
openshift_node_groups: | |
- name: "node-config-master" | |
labels: | |
- node-role.kubernetes.io/master=true | |
- node-role.kubernetes.io/infra=true |
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
/tmp/ansible_test ansible-playbook-3 playbook.yml | |
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' | |
PLAY [localhost] ********************************************************************************************************************************************** | |
TASK [set_fact] *********************************************************************************************************************************************** | |
ok: [localhost] | |
TASK [set_fact] *********************************************************************************************************************************************** |
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
Chain OS_FIREWALL_ALLOW (1 references) | |
target prot opt source destination | |
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:2379 | |
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:2380 | |
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:pcsync-https | |
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:pcsync-http | |
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:senomix02 | |
ACCEPT udp -- anywhere anywhere state NEW udp dpt:senomix02 | |
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:10250 | |
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http |
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
--- | |
- hosts: localhost | |
tasks: | |
- debug: | |
msg: "{{ item.foo }} {{ item.foz }}" | |
with_items: | |
- { 'foo': 'bar', | |
'foz': 'baz'} |
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
- hosts: localhost | |
tasks: | |
- debug: | |
msg: "nested test a={{ item[0] }} b={{ item[1] }} c={{ item[2] }}" | |
vars: | |
elements: | |
- [ 'red', 'blue', 'green' ] | |
- [ 1, 2, 3 ] | |
- [ 'up', 'down', 'strange'] | |
loop: "{{ lookup('nested', elements) }}" |
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
#!/bin/bash | |
set -e | |
PKG=${PWD##*/} | |
#Detect which version should be used based on upstream branch | |
TRACKING=$(git rev-parse --abbrev-ref --symbolic-full-name @{u}) | |
BRANCH=$(basename $TRACKING) | |
if [[ "$BRANCH" == "master" ]]; then | |
DEST=rawhide | |
else |