wintus / ansible-local Goto Github PK
View Code? Open in Web Editor NEWAnsible provisioning for local Ubuntu machine
License: MIT License
Ansible provisioning for local Ubuntu machine
License: MIT License
ansible-play
fails in gathering facts step by timeout
ansible localhost -m setup -a gather_subset=hardware
# because of many loopback devices
losetup
extending timeout
ansible localhost -m setup -a gather_timeout=30
ansible-local/roles/nodejs/tasks/main.yml
Line 24 in a1cd1d0
There is no great advantage in these days.
refs:
http://docs.ansible.com/ansible/latest/playbooks_async.html
This feature provides async tasks on every nodes.
first lines of logs
Using /home/yuya/.ghq/github.com/Wintus/ansible-local-dev/ansible.cfg as config file
/home/yuya/.ghq/github.com/Wintus/ansible-local-dev/hosts.yml did not meet host_list requirements, check plugin documentation if this is unexpected
/home/yuya/.ghq/github.com/Wintus/ansible-local-dev/hosts.yml did not meet script requirements, check plugin documentation if this is unexpected
missing configuration
[inventory]
enable_plugins = yaml
https://docs.ansible.com/ansible/latest/reference_appendices/config.html#inventory-enabled
Line 9 in 0b17bf0
site.yml
is the main playbook. Rename it playbook.yml
as in sample?
I'm following the best practice:
https://docs.ansible.com/ansible/latest/user_guide/playbooks_best_practices.html#directory-layout
ansible-ubuntu-gnome
-> ansible-local-dev
条件式の指定により generic になったため、 Ubuntu & GNOME の決め打ちをやめられるようになった。
maybe integration test only.
per-role tests would be better after separation.
set -x SHELL fish
bash -ic fish # .bashrc executed
Use Ansible Galaxy to install roles
separate made-by-go tools:
separate made-by-rust tools:
ansible-role-
Go
https://github.com/ansible/ansible-lint
there are some options
Name it simpler.
remove from:
see: https://blog.confirm.ch/ansible-modules-shell-vs-command/
see also: https://docs.ansible.com/ansible/latest/modules/script_module.html
https://github.com/Wintus/ansible-local/search?q=shell
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.