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: Fetch Postgres secret and pod details and create inventory file | |
hosts: localhost | |
gather_facts: no | |
tasks: | |
- name: Fetch the Postgres secret | |
kubernetes.core.k8s_info: | |
api_version: v1 | |
kind: Secret | |
name: myaap-gateway-postgres-configuration |
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: Register services | |
ansible.builtin.include_role: | |
name: "{{ gw_config_role }}" | |
vars: | |
gateway_http_ports: "{{ gateway_proxy_vars.gateway_http_ports | d([]) }}" | |
gateway_service_clusters: "{{ gateway_proxy_vars.gateway_service_clusters | d([]) }}" | |
gateway_service_nodes: "{{ gateway_proxy_vars.gateway_service_nodes | d([]) }}" | |
gateway_services: "{{ gateway_proxy_vars.gateway_services | d([]) }}" | |
gateway_routes: "{{ gateway_proxy_vars.gateway_routes | d([]) }}" |
This file has been truncated, but you can view the full file.
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
The full traceback is: | |
File "/tmp/ansible_ansible.gateway_configuration.http_port_payload_nlbkw4rw/ansible_ansible.gateway_configuration.http_port_payload.zip/ansible_collections/ansible/gateway_configuration/plugins/module_utils/aap_module.py", line 326, in make_request_raw_reponse | |
response = self.session.open( | |
File "/tmp/ansible_ansible.gateway_configuration.http_port_payload_nlbkw4rw/ansible_ansible.gateway_configuration.http_port_payload.zip/ansible/module_utils/urls.py", line 1294, in open | |
r = urllib_request.urlopen(*urlopen_args) | |
File "/usr/lib64/python3.8/urllib/request.py", line 222, in urlopen | |
return opener.open(url, data, timeout) | |
File "/usr/lib64/python3.8/urllib/request.py", line 531, in open | |
response = meth(req, response) | |
File "/usr/lib64/python3.8/urllib/request.py", line 640, in http_response |
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
while usign rservices role , did you face this sort of issue | |
TASK [ansible.gateway_configuration.services : Services | Configuration] ******* | |
task path: /opt/ansible/.ansible/collections/ansible_collections/ansible/gateway_configuration/roles/services/tasks/main.yml:2 | |
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: 1000930000 | |
<localhost> EXEC /bin/sh -c 'echo ~1000930000 && sleep 0' | |
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /opt/ansible/.ansible/tmp `"&& mkdir "` echo /opt/ansible/.ansible/tmp/ansible-tmp-1723200115.16285-1193-39299142236388 `" && echo ansible-tmp-1723200115.16285-1193-39299142236388="` echo /opt/ansible/.ansible/tmp/ansible-tmp-1723200115.16285-1193-39299142236388 `" ) && sleep 0' | |
Using module file /opt/ansible/.ansible/collections/ansible_collections/ansible/gateway_configuration/plugins/modules/service.py | |
<localhost> PUT /opt/ansible/.ansible/tmp/ansible-local-22qzfvrc0_/tmpnwhrs6tw TO /opt/ansible/.ansible/tmp/ansible-tmp-1723200115.16285-1193-39299142236388/AnsiballZ |
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
apiVersion: operators.coreos.com/v1alpha1 | |
kind: ClusterServiceVersion | |
metadata: | |
annotations: | |
olm.skipRange: '>=2.0.1-0.1635279521 <2.5.1' | |
features.operators.openshift.io/token-auth-azure: 'false' | |
operators.operatorframework.io/builder: operator-sdk-v1.11.0+git | |
features.operators.openshift.io/token-auth-gcp: 'false' | |
operators.operatorframework.io/project_layout: ansible | |
olm.targetNamespaces: gateway |
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: iosxr | |
gather_facts: false | |
tasks: | |
- name: TEST IOSXR_COMMAND MODULE - Initial | |
cisco.iosxr.iosxr_command: | |
commands: "show version" | |
interval: 1 | |
retries: 3 | |
wait_for: | |
- result[0] contains 'uptime' |
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
EOS-DEVICE CONFIG | |
candidate_arista_11#show running-config | grep route | |
switchport default mode routed | |
dhcp client accept default-route | |
10 deny icmpv6 any any reject-route hop-limit eq 20 | |
ip route 3.3.3.3/32 192.168.1.3 | |
ip route vrf testvrf 120.1.1.0/24 Management1 | |
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: Play for Sean Issue | |
hosts: eos | |
collections: | |
- arista.eos | |
tasks: | |
- name: Gather arista eos facts | |
arista.eos.eos_facts: | |
gather_subset: config | |
gather_network_resources: "{{ network_resource | default('!bgp_global,!bgp_address_family') }}" |
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
xml.data.yaml | |
================== | |
<?xml version="1.0" encoding="UTF-8"?> | |
<rpc-reply message-id="urn:uuid:0cadb4e8-5bba-47f4-986e-72906227007f"> | |
<data> | |
<ntp> | |
<nodes> | |
<node> | |
<node>0/0/CPU0</node> | |
<associations> |
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 [core 2.14.3] | |
config file = /home/rothakur/ansible-collections/collections/ansible_collections/network/ospf/ansible.cfg | |
configured module search path = ['/home/rothakur/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] | |
ansible python module location = /usr/local/lib/python3.11/site-packages/ansible | |
ansible collection location = /home/rothakur/ansible-collections/collections | |
executable location = /usr/local/bin/ansible-playbook | |
python version = 3.11.3 (main, Apr 5 2023, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)] (/usr/bin/python3) | |
jinja version = 3.0.3 | |
libyaml = False | |
Using /home/rothakur/ansible-collections/collections/ansible_collections/network/ospf/ansible.cfg as config file |
NewerOlder