ansible 2.5.1
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/markus/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /home/markus/.local/lib/python2.7/site-packages/ansible
executable location = /home/markus/.local/bin/ansible
python version = 2.7.15 (default, Jun 27 2018, 13:05:28) [GCC 8.1.1 20180531]
Using /etc/ansible/ansible.cfg as config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[m@xps13 docs]$ RUST_LOG=debug mdbook-mermaid ~/git/go-redis/docs/ | |
DEBUG 2018-12-06T14:20:09Z: mdbook::book: Loading config from /home/m/git/go-redis/docs/book.toml | |
DEBUG 2018-12-06T14:20:09Z: mdbook::config: Updating the config from environment variables | |
DEBUG 2018-12-06T14:20:09Z: mdbook::book::summary: Found a h1 in the SUMMARY | |
DEBUG 2018-12-06T14:20:09Z: mdbook::book::summary: Parsing prefix items | |
DEBUG 2018-12-06T14:20:09Z: mdbook::book::summary: Parsing numbered chapters at level 0 | |
DEBUG 2018-12-06T14:20:09Z: mdbook::book::summary: Parsing suffix items | |
DEBUG 2018-12-06T14:20:09Z: mdbook::book::book: Loading the book from disk | |
DEBUG 2018-12-06T14:20:09Z: mdbook::book::book: Loading Chapter 1 (./chapter_1.md) | |
INFO 2018-12-06T14:20:09Z: mdbook::book: Book building has started |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[m@xps13 docs]$ mdbook-mermaid ~/git/go-redis/docs/ | |
Rendering failed | |
[m@xps13 docs]$ pwd | |
/home/m/git/go-redis/docs | |
[m@xps13 docs]$ tree | |
. | |
|-- book | |
| |-- FontAwesome | |
| | |-- css | |
| | | `-- font-awesome.css |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: localhost | |
connection: local | |
gather_facts: False | |
tasks: | |
- name: determine service | |
ecs_service_facts: | |
cluster: "my-cluster-test" | |
service: "some_service" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker service ls | |
ID NAME MODE REPLICAS IMAGE PORTS | |
z1uezlq978j9 gitea replicated 1/1 gitea/gitea:1.6.0 | |
k0g6lzhqj6pi gitea-user-heatmap replicated 1/1 registry.gitlab.com/markuman/grafana:giteauserheatmap | |
ihd4m6a4uhuu mariadb replicated 1/1 markuman/mariadb:alpine-10.2.15 | |
ybz3xpcosdst nextcloud replicated 1/1 nextcloud:13.0.7 | |
koqf90z2xq8p nextcloud14 replicated 1/1 nextcloud:14.0.3 | |
rpasfrizvcxe public_grafana replicated 1/1 registry.gitlab.com/markuman/grafana:pub2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
secrets/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[markus@dell myinv]$ ansible -vvv -i testinv.py all -m ping | |
ansible 2.7.0 | |
config file = /etc/ansible/ansible.cfg | |
configured module search path = ['/home/markus/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] | |
ansible python module location = /usr/lib/python3.7/site-packages/ansible | |
executable location = /usr/bin/ansible | |
python version = 3.7.0 (default, Sep 15 2018, 19:13:07) [GCC 8.2.1 20180831] | |
Using /etc/ansible/ansible.cfg as config file | |
[WARNING]: * Failed to parse /home/markus/git/myinv/testinv.py with script plugin: Invalid data from file, expected dictionary and got: None |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[markus@dell myinv]$ ~/.local/bin/ansible -vvv -i testinv.py all -m ping | |
ansible 2.5.1 | |
config file = /etc/ansible/ansible.cfg | |
configured module search path = [u'/home/markus/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] | |
ansible python module location = /home/markus/.local/lib/python2.7/site-packages/ansible | |
executable location = /home/markus/.local/bin/ansible | |
python version = 2.7.15 (default, Jun 27 2018, 13:05:28) [GCC 8.1.1 20180531] | |
Using /etc/ansible/ansible.cfg as config file | |
[ERROR]: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scw-b2b7f1:~$ cat /proc/cpuinfo | |
processor : 0 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 95 | |
model name : Intel(R) Atom(TM) CPU C3955 @ 2.10GHz | |
stepping : 1 | |
microcode : 0x1 | |
cpu MHz : 2100.000 | |
cache size : 4096 KB |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Add the newly created EC2 instance(s) to the local host group (located inside the directory) | |
local_action: lineinfile | |
dest="/home/markus/ansible/inventory" | |
insertafter="[webserver]" line={{ item.private_ip }} | |
with_items: ec2_out.instances |