Code Samples for the NetDevOps CICD Learning Labs
ciscodevnet / ll_net_cicd_code_samples Goto Github PK
View Code? Open in Web Editor NEWCode Samples for the NetDevOps CICD Learning Labs
Code Samples for the NetDevOps CICD Learning Labs
(venv) [root@devbox cicd]# git clone https://github.com/CiscoDevNet/ll_net_cicd_code_samples
Cloning into 'll_net_cicd_code_samples'...
fatal: unable to access 'https://github.com/CiscoDevNet/ll_net_cicd_code_samples/': Could not resolve host: github.com; Unknown error
(venv) [root@devbox cicd]# ping github.com
ping: unknown host github.com
(venv) [root@devbox cicd]#
(venv) [root@devbox cicd]# tracepath github.com
gethostbyname2: Host name lookup failure
(venv) [root@devbox cicd]#
(venv) [root@devbox cicd]#
(venv) [root@devbox cicd]# tracepath 8.8.8.8
1?: [LOCALHOST] pmtu 1500
1: 10.10.20.254 6.202ms
1: 10.10.20.254 0.487ms
2: no reply
3: no reply
4: no reply
5: no reply
6: no reply
7: no reply
8: no reply
9: no reply
^C
(venv) [root@devbox cicd]#
When running devbox_setup.sh, the ansible playbook fails when going through the zaxos.docker-ce-ansible-role. It is saying the python2 bindings for RPM are needed for this module. I attempted changing to the package format in the role playbook and forcing the python2.7 interpreter in the local ansible.cfg but neither worked to resolve the issue.
The error below is from before I changed anything,
(venv) [root@devbox pipeline]# ./devbox_setup.sh
[WARNING]: - zaxos.docker-ce-ansible-role (1.1.1) is already installed - use --force to change version to unspecified
[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic
inclusions. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in
ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more
about this rationale.. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False
in ansible.cfg.
PLAY [Update Docker CE] ******************************************************************************************************************************
TASK [Gathering Facts] *******************************************************************************************************************************
ok: [10.10.20.20]
TASK [zaxos.docker-ce-ansible-role : Remove previous docker installation] ****************************************************************************
failed: [10.10.20.20] (item={u'package': u'docker'}) => {"changed": false, "item": {"package": "docker"}, "msg": "python2 bindings for rpm are needed for this module. python2 yum module is needed for this module"}
failed: [10.10.20.20] (item={u'package': u'docker-common'}) => {"changed": false, "item": {"package": "docker-common"}, "msg": "python2 bindings for rpm are needed for this module. python2 yum module is needed for this module"}
failed: [10.10.20.20] (item={u'package': u'docker-client'}) => {"changed": false, "item": {"package": "docker-client"}, "msg": "python2 bindings for rpm are needed for this module. python2 yum module is needed for this module"}
failed: [10.10.20.20] (item={u'package': u'docker-engine'}) => {"changed": false, "item": {"package": "docker-engine"}, "msg": "python2 bindings for rpm are needed for this module. python2 yum module is needed for this module"}
to retry, use: --limit @/root/ll_net_cicd_code_samples/pipeline/pipeline_setup.retry
PLAY RECAP *******************************************************************************************************************************************
10.10.20.20 : ok=1 changed=0 unreachable=0 failed=1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.