This Git repository contains supporting files for my "Red Hat Certified Engineer (RHCE) EX294: Ansible Automation" video course. See https://sandervanvugt.com for more details.
rhce8's Introduction
rhce8's People
Forkers
kosmoit prabhuredhat ccjung ivanel rpplayground cavasoft ananth516 tearfas venkat8887 euleer w4z jmccar vinaykumarnc2019 energygreek archer4l ni3koshti sivanamurugesan amirulaliwl faical2014 hareeshsr kyawlinwai nkstupid rengan2017 yuyanto sawtintkyaw gcurkovecki dsai74ch herisanu st185229 dojlan paulosteven mpoonuru fengliplatform coolscripting stefan06ro tayoa arun9theja sobngwi injeti-manohar ovdd shivannakarthik swavo26 pepe5 chandankumar23 codesamplestore andymc64 ericbos111 fredericfolon ssrlinux kunalnk yousabu terteguh famerima gmarciales phoodie hariinbox10 olwimamdouh dhomane allansong2012 azurecloudmonk danieljesusleon ps29 ajaysharmaof nitzhonot777 syedaasik nokocha mcreseau viswasrimaan kkmaung anjilinux redhat-exam anatole72 xxzy28 enidvx prakashansible zufrost amhtech vap0rtranz frankthetank- s-zakhar elhalag93 vodegor ashok77123 amjedjabari casheljp fleining daedalous4 roshanahtina imsilsa williamsun-hha abdelhousni alsafi2rhce8's Issues
Lesson 5.5 arrays.yml Playbook Does Not Work
Sander,
I really appreciate all the work you have done for this course. I have a small correction that needs to be made in order for one of your playbooks to work. It is specifically in the vars/users file.
The error you get when running the playbook without the edit is:
The changes I made to arrays2.yml are just for my environment:
If you edit the vars/users file to look like this:
It will loop properly because in the previous var/users file it has nested hashes which cannot be looped over.
If you see the output from the original file, it shows it clearly if you remove the attributes and only do it with one user:
Edit I made to only include linda in the original syntax you provided:
At any rate, this is what I found, I can feel free to do a pull request to make the change, but I fear you will need to remake the video or add some annotations to it to show the proper syntax so people don't run into the same issue I did.
Let me know I how I can help!
Thanks,
Noel Miller
Don't set python as alternative to python3
The following warning message will be exhibited when /usr/bin/python is present on the host.
RH solution
[DEPRECATION WARNING]: Distribution redhat 8.x on host xxx.xxx.xxx.xxx should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.