- using Ansible command line:
ansible-playbook --connection=local 127.0.0.1 playbook.yml- using inventory:
127.0.0.1 ansible_connection=localansible-playbook --connection=local 127.0.0.1 playbook.yml127.0.0.1 ansible_connection=local| #!/bin/bash | |
| # follow everyone on gab.ai easily | |
| # this may or may not break at any time, as this api is unofficial/undocumented/whatever you want to call it. | |
| # insert your cookies into /tmp/cookies | |
| # you can extract them using EditThisCookie, in the Netscape HTTP cokie format. | |
| # limited to first 10000 users on gab, change the number in $(seq if there are more users in the future | |
| # of course, 200 = success, anything else = failure | |
| for i in $(seq 10000) | |
| do | |
| curl -o /dev/null --silent --head --write-out '%{http_code} -' -X POST --cookie /tmp/cookie https://gab.ai/users/$i/follow |