{"id":18805542,"url":"https://github.com/sergioarmgpl/ansible-intro","last_synced_at":"2026-01-25T07:02:10.090Z","repository":{"id":101974690,"uuid":"254272331","full_name":"sergioarmgpl/ansible-intro","owner":"sergioarmgpl","description":null,"archived":false,"fork":false,"pushed_at":"2020-07-07T17:20:40.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-22T00:12:26.570Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sergioarmgpl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-09T04:38:39.000Z","updated_at":"2020-07-07T17:20:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2e8d840-19c7-4a97-b96f-8fcc8a52b82c","html_url":"https://github.com/sergioarmgpl/ansible-intro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sergioarmgpl/ansible-intro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioarmgpl%2Fansible-intro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioarmgpl%2Fansible-intro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioarmgpl%2Fansible-intro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioarmgpl%2Fansible-intro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sergioarmgpl","download_url":"https://codeload.github.com/sergioarmgpl/ansible-intro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioarmgpl%2Fansible-intro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28747308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T05:12:38.112Z","status":"ssl_error","status_checked_at":"2026-01-25T05:04:50.338Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T22:44:19.959Z","updated_at":"2026-01-25T07:02:10.073Z","avatar_url":"https://github.com/sergioarmgpl.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ANSIBLE\nyum install epel-release  \nyum install ansible  \nyum install git  \nuseradd -m ansible  \n  \nuseradd -m ansible  \nansible ALL=(ALL) NOPASSWD: ALL  \n  \nansible server1 -m setup | less  \nansible server1 -m ping  \n  \nansible server1 -b -m apt -a \"update_cache=true name=apache2 state=present\"  \nansible server1 -b -m service -a \"name=apache2 state=started\"  \nansible server1 -b -m service -a \"name=apache2 state=stopped\"  \n  \nsudo su - ansible  \nssh-keygen  \nssh-copy-id server.dominio.tld  \n  \nansible-playbook -i inv web.yml  \nansible-playbook -i inv web.yml --check #dry-run  \n  \n## variables\nansible-playbook -i inv web.yml -e \"var1=value var2=value\"  \n  \nlocate in file {{ var1 }}  \n  \nansible-playbook -i inv web.yml -e \"mensaje=\\\"use variables\\\"\"  \n{{mensaje}} Este lo use en el servidor  \n  \nansible server1 -m setup -a filter=\\*palabra\\*  \n  \ntasks:  \n  - debug:  \n     var: variable  \n  \nregister al final de un task se puede imprimir  \n-debug:  \n  msg: \"xyz {{ variable }}\"  \n  \nhandlers  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergioarmgpl%2Fansible-intro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergioarmgpl%2Fansible-intro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergioarmgpl%2Fansible-intro/lists"}