Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MVP of /etc/ansible/facts.d/alb.fact #13

Closed
fititnt opened this issue Nov 12, 2019 · 2 comments
Closed

MVP of /etc/ansible/facts.d/alb.fact #13

fititnt opened this issue Nov 12, 2019 · 2 comments

Comments

@fititnt
Copy link
Owner

fititnt commented Nov 12, 2019


This maybe will obsolete part of what I was thinking to implementing using #8

fititnt added a commit that referenced this issue Nov 13, 2019
@fititnt
Copy link
Owner Author

fititnt commented Nov 13, 2019

Bugs (running a play again after Ansible Facts already exist on the host)

# fititnt at bravo in /alligo/code/fititnt/ap-alb-demo on git:master x [10:15:25]
$ ansible-playbook -i hosts main.yml                                    

PLAY [apps_servers] ****************************************************************************************************************

TASK [Gathering Facts] *************************************************************************************************************
fatal: [apps_server_apalbdemo]: FAILED! => {"ansible_facts": {}, "changed": false, "msg": "The following modules failed to execute: setup\n  setup: [Errno 8] Exec format error: '/etc/ansible/facts.d/alb_apps.fact'\n"}

PLAY RECAP *************************************************************************************************************************
apps_server_apalbdemo      : ok=0    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0  

fititnt added a commit that referenced this issue Nov 15, 2019
…s; converted alb facts to executable scrips (fix some weird bugs)
fititnt added a commit that referenced this issue Nov 18, 2019
…om old runs and (only if changed) try apply new changes. This speed up drasticaly the runs and reduce noise
@fititnt
Copy link
Owner Author

fititnt commented Nov 23, 2019

For an MVP, we're good. Will need some improvements, but already is working and speeding up re-runs a lot.

@fititnt fititnt closed this as completed Nov 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant