enginyoyen / ansible-best-practises Goto Github PK
View Code? Open in Web Editor NEWA project structure that outlines some best practises of how to use ansible
License: MIT License
A project structure that outlines some best practises of how to use ansible
License: MIT License
Is there a plan to extend this best-practice template to include support for Fedora/CentOS/RHEL distributions (i.e. to those using yum)?
Ideally the extension should work in environments using both Debian (apt) and Fedora (yum) distributions.
$ sh extensions/setup/role_update.sh
extensions/setup/role_update.sh: 9: extensions/setup/role_update.sh: Bad substitution
trap: ERR: bad trap
$ bash --version
GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Note, I'm on Ubuntu via WSL
I am getting below error while executing setup.sh
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
If I ignore this - will the configurations still work?
----------------------------------------
Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-XV7J3Q/cryptography/ setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec( compile(code, file, 'exec'))" install --record /tmp/pip-NlG22t-record/install-record.txt --single-ver sion-externally-managed --compile" failed with error code 1 in /tmp/pip-build-XV7J3Q/cryptography/
/usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg/pip/_vendor/requests/packages/urllib3/util/ssl _.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer v ersion of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/securi ty.html#insecureplatformwarning.
InsecurePlatformWarning
When I execute plays,it apperars the following warning. It's any idea to fix ?
[WARNING]: The variable 'environment' appears to be used already, which is also
used internally for environment variables set on the task/block/play. You should use
a different variable name to avoid conflicts with this internal variable
Hi there,
Thanks for the useful content you share in this repo.
I have been reading the README.md on the root directory and discovered some typo mistakes and I thought it's worth fixing them. Let me know if a PR is welcomed in this case.
Thanks, happy coding.
The README.MD does not mention anything on Jinja2 templates. Where would you place template files?
I would advice also to keep external role in git but, Still maintain it vie a requirement file
Running ./extensions/setup/role_update.sh
downloading role 'git', owned by -%20src%3A%20https%3A//github.com/yetu/ansible-apt
Sorry, - src: https://github.com/yetu/ansible-apt.git was not found on galaxy.ansible.com.
downloading role '4%22', owned by version%3A%20%22v0.1
Sorry, version: "v0.1.4" was not found on galaxy.ansible.com.
Can you please suggest?
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.