GithubHelp home page GithubHelp logo

rhce8's Introduction

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 People

Contributors

sandervanvugt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rhce8'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:
image
The changes I made to arrays2.yml are just for my environment:
image
If you edit the vars/users file to look like this:
image
It will loop properly because in the previous var/users file it has nested hashes which cannot be looped over.
image
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:
image
Edit I made to only include linda in the original syntax you provided:
image

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.