unit_type string | repo_path string | commit_id string | stars int32 | unit_prefix string | shard int32 | license_types list | files list | quality dict | flags dict |
|---|---|---|---|---|---|---|---|---|---|
ansible_role | etalab/api-infrastructure | 05c5be004b2267df113018b76c5a7bc20812c7d4 | 3 | roles/authorized-ssh-keys | 167 | [
"no_license"
] | [
{
"path": "roles/authorized-ssh-keys/README.md",
"content": "# team-ssh-keys\n\nThis roles adds the `authorized_ssh_keys` SSH keys to the specified users so that the team members can connect as different users on the target host.\n\n## Options\n\nSee `argument_specs.yml`.\n\n## Example usage\n\n```yaml\n# p... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1041,
"all_permissive": false
} |
ansible_role | etalab/api-infrastructure | 05c5be004b2267df113018b76c5a7bc20812c7d4 | 3 | roles/backup-script | 167 | [
"no_license"
] | [
{
"path": "roles/backup-script/defaults/main.yml",
"content": "enable_backup: true\nfrequency: daily\nbackup_user: \"{{ ansible_user }}\"\nbackup_environment: \"{{ inventory_file | basename }}\"\ngpg_recipient: \"{{ backup_user }}@localhost\"\npublic_pgp_key_path: \"./pgp-keys/{{ inventory_file | basename }... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 7967,
"all_permissive": false
} |
ansible_role | etalab/api-infrastructure | 05c5be004b2267df113018b76c5a7bc20812c7d4 | 3 | roles/ips-load-balancing | 167 | [
"no_license"
] | [
{
"path": "roles/ips-load-balancing/README.md",
"content": "# Ips load balancing\n\nThis role adds multiple outgoing IPs\n\n## Example usage\n\n```yaml\n# playbook.yml\n\n- hosts: all\n roles:\n - ips-load-balancing\n```\n\n```yaml\n# vars.yml\n---\noutgoing_ips:\n - xx.yy.zz.00\n - xx.yy.zz.10\n - x... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1446,
"all_permissive": false
} |
ansible_role | etalab/api-infrastructure | 05c5be004b2267df113018b76c5a7bc20812c7d4 | 3 | roles/nginx | 167 | [
"no_license"
] | [
{
"path": "roles/nginx/templates/https-redirect.conf.j2",
"content": "server {\n listen 80 default_server;\n listen [::]:80 default_server;\n server_name _;\n location / {\n return 301 https://$host$request_uri;\n }\n location /.well-known {\n root /var/www; access_log off; e... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 8,
"total_bytes": 2649,
"all_permissive": false
} |
ansible_role | etalab/api-infrastructure | 05c5be004b2267df113018b76c5a7bc20812c7d4 | 3 | roles/postgres | 167 | [
"no_license"
] | [
{
"path": "roles/postgres/README.md",
"content": "# postgres\n\nThis role installs postgres, create new user and new database.\n\nIt can also install postgres extensions.\n\n## Options\n\nSee `argument_specs.yml`.\n\n## Example usage\n\n```yaml\n# playbook.yml\n\n- hosts: all\n roles:\n - postgres\n```\... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1616,
"all_permissive": false
} |
ansible_role | etalab/api-infrastructure | 05c5be004b2267df113018b76c5a7bc20812c7d4 | 3 | roles/refresh-apt-cache | 167 | [
"no_license"
] | [
{
"path": "roles/refresh-apt-cache/defaults/main.yml",
"content": "---\napt_cache_valid_time: 86400\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 32
},
{
"path": "roles/refresh-apt-cache/README.md",
"content": "# Refresh apt-cache\n\nThis role refresh apt c... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 334,
"all_permissive": false
} |
ansible_role | etalab/api-infrastructure | 05c5be004b2267df113018b76c5a7bc20812c7d4 | 3 | roles/ssh-security | 167 | [
"no_license"
] | [
{
"path": "roles/ssh-security/README.md",
"content": "# team-ssh-keys\n\nThis role hardens the ssh options to only allow ssh connection to these users.\n\n## Example usage\n\n```yaml\n# playbook.yml\n\n- hosts: all\n roles:\n - ssh-security\n```\n\n```yaml\n# vars.yml\n\n# none\n```\n",
"license_typ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1075,
"all_permissive": false
} |
ansible_role | etalab/api-infrastructure | 05c5be004b2267df113018b76c5a7bc20812c7d4 | 3 | roles/ssl | 167 | [
"no_license"
] | [
{
"path": "roles/ssl/defaults/main.yml",
"content": "---\nssl_certbot_auto_renew_user: root\nssl_certbot_auto_renew_minute: \"0\"\nssl_certbot_auto_renew_hour: \"3\"\nssl_certbot_create_if_missing: true\nssl_ovh_endpoint: ovh-eu\nssl_ovh_propagation_seconds: 120\n",
"license_type": "no_license",
"de... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 4182,
"all_permissive": false
} |
ansible_role | etalab/api-infrastructure | 05c5be004b2267df113018b76c5a7bc20812c7d4 | 3 | roles/ufw | 167 | [
"no_license"
] | [
{
"path": "roles/ufw/tasks/main.yml",
"content": "---\n- name: Enable UFW and close all ports (DO NOT INTERRUPT!!!)\n ufw:\n state: enabled\n policy: deny\n# NB. if the playbook stops here you will loss access to your server.\n\n- name: Allow all TCP access to allowed ports\n ufw:\n rule: allow\n... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 369,
"all_permissive": false
} |
ansible_role | danieljanicki/ansible-eksa | 35941b6b4cfca27a29b1dd0a7ea0e67175e78645 | 0 | playbooks/roles/anywhere | 167 | [
"no_license"
] | [
{
"path": "playbooks/roles/anywhere/tasks/main.yaml",
"content": "- name: Set eksctl anywhere version is not defined\r\n block:\r\n - name: dowload manifest with anywhere version\r\n ansible.builtin.get_url:\r\n url: \"https://anywhere-assets.eks.amazonaws.com/releases/eks-a/manifest.yaml\"\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2024,
"all_permissive": false
} |
ansible_role | danieljanicki/ansible-eksa | 35941b6b4cfca27a29b1dd0a7ea0e67175e78645 | 0 | playbooks/roles/eksctl | 167 | [
"no_license"
] | [
{
"path": "playbooks/roles/eksctl/vars/main.yaml",
"content": "architecture_map:\r\n x86_64: amd64\r\n aarch64: arm64",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 52
},
{
"path": "playbooks/roles/eksctl/tasks/main.yaml",
"content": "- name: Set eksctl vers... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1482,
"all_permissive": false
} |
ansible_role | danieljanicki/ansible-eksa | 35941b6b4cfca27a29b1dd0a7ea0e67175e78645 | 0 | playbooks/roles/kubectl | 167 | [
"no_license"
] | [
{
"path": "playbooks/roles/kubectl/tasks/main.yaml",
"content": "- name: Set kubectl version is not defined\r\n block:\r\n - name: dowload file with latest version\r\n become: true\r\n ansible.builtin.get_url:\r\n url: \"https://dl.k8s.io/release/stable.txt\"\r\n dest: \"/tmp/sta... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1525,
"all_permissive": false
} |
ansible_role | mekanix/jail-openvpn | cd8cf5009e3887b76c8af1d8fe07488789d9f57d | 1 | ansible/roles/openvpn | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/openvpn/templates/generate-certs.sh.j2",
"content": "#!/bin/sh\n\nEASYRSA=\"/usr/local/etc/openvpn\"\nexport EASYRSA\ncd /usr/local/etc/openvpn\n\neasyrsa init-pki\ncp /usr/local/share/easy-rsa/openssl-easyrsa.cnf /usr/local/etc/openvpn/pki\ncp /usr/local/share/easy-rsa/openssl-easy... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 7,
"total_bytes": 3598,
"all_permissive": false
} |
ansible_role | Nosikov-studio/r005a-ansible | 4a0cc9413d0f1e97d7d3649d11ac6ca04774c847 | 0 | roles/adminer | 167 | [
"no_license"
] | [
{
"path": "roles/adminer/tasks/main.yml",
"content": "#--------------------------------------------------------- \n - name: Create a directory if it does not exist\n file:\n path: /var/www/html/adminer\n state: directory\n mode: 0777\n#--------------------------------------... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1571,
"all_permissive": false
} |
ansible_role | Nosikov-studio/r005a-ansible | 4a0cc9413d0f1e97d7d3649d11ac6ca04774c847 | 0 | roles/adminer2 | 167 | [
"no_license"
] | [
{
"path": "roles/adminer2/tasks/main.yml",
"content": "#--------------------------------------------------------- \n - name: Create a directory if it does not exist\n file:\n path: /var/www/trur/adminer\n state: directory\n mode: 0777\n#-------------------------------------... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1571,
"all_permissive": false
} |
ansible_role | Nosikov-studio/r005a-ansible | 4a0cc9413d0f1e97d7d3649d11ac6ca04774c847 | 0 | roles/nodejs | 167 | [
"no_license"
] | [
{
"path": "roles/nodejs/tasks/main.yml",
"content": "---\n - name: Install curl and build-essential\n apt:\n name:\n - curl\n - build-essential\n state: present\n update_cache: yes\n\n - name: Add NodeSource Node.js 20.x repo\n shell: curl -fsSL https:/... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 614,
"all_permissive": false
} |
ansible_role | Nosikov-studio/r005a-ansible | 4a0cc9413d0f1e97d7d3649d11ac6ca04774c847 | 0 | roles/phpinstall | 167 | [
"no_license"
] | [
{
"path": "roles/phpinstall/tasks/main.yml",
"content": "---\n# tasks file for phpinstall\n#------------------------------------------------s8\n \n - name: Update apt cache\n apt:\n update_cache: yes\n\n - name: Установить зависимости для добавления PPA\n apt:\n name: sof... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1246,
"all_permissive": false
} |
ansible_role | Nosikov-studio/r005a-ansible | 4a0cc9413d0f1e97d7d3649d11ac6ca04774c847 | 0 | roles/siteinstall | 167 | [
"no_license"
] | [
{
"path": "roles/siteinstall/tasks/main.yml",
"content": "---\n - name: Update apt cache\n apt:\n update_cache: yes\n\n - name: Recursively remove directory\n file:\n path: /var/www/trur/\n state: absent\n\n\n - name: Create a directory if it does not exist\n f... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 3099,
"all_permissive": false
} |
ansible_role | Nosikov-studio/r005a-ansible | 4a0cc9413d0f1e97d7d3649d11ac6ca04774c847 | 0 | roles/test-php | 167 | [
"no_license"
] | [
{
"path": "roles/test-php/tasks/main.yml",
"content": " - name: Update apt cache\n apt:\n update_cache: yes\n - name: Copy index.php\n copy:\n src: files/index.php\n dest: /var/www/html/index.php\n - name: Copy config nginx\n copy:\n src: files/defau... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 394,
"all_permissive": false
} |
ansible_role | PIMENTA-SILVA-Lionel/takima_tp1 | f1b45c100a57c9afffb840dcf3302b007a92bc03 | 0 | ansible/roles/app | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/app/tasks/main.yml",
"content": "#SPDX-License-Identifier: MIT-0\n---\n# tasks file for roles/application\n- name: Run app\n docker_container:\n name: my-api\n image: lionyti/tp-devops-simple-api\n networks:\n - name: my_network\n vars:\n ansible_python_interprete... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 271,
"all_permissive": false
} |
ansible_role | PIMENTA-SILVA-Lionel/takima_tp1 | f1b45c100a57c9afffb840dcf3302b007a92bc03 | 0 | ansible/roles/database | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/database/tasks/main.yml",
"content": "#SPDX-License-Identifier: MIT-0\n---\n# tasks file for roles/database\n- name: Run database\n docker_container:\n name: my-db\n image: lionyti/tp-devops-database\n networks:\n - name: my_network\n vars:\n ansible_python_interp... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 275,
"all_permissive": false
} |
ansible_role | PIMENTA-SILVA-Lionel/takima_tp1 | f1b45c100a57c9afffb840dcf3302b007a92bc03 | 0 | ansible/roles/network | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/network/tasks/main.yml",
"content": "#SPDX-License-Identifier: MIT-0\n---\n# tasks file for roles/create-network\n- name: Create a network\n community.docker.docker_network:\n name: my_network\n vars:\n ansible_python_interpreter: /opt/docker_venv/bin/python3\n ",
"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 230,
"all_permissive": false
} |
ansible_role | PIMENTA-SILVA-Lionel/takima_tp1 | f1b45c100a57c9afffb840dcf3302b007a92bc03 | 0 | ansible/roles/proxy | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/proxy/tasks/main.yml",
"content": "\n# tasks file for roles/reverse-proxy\n- name: Run reverse-proxy\n docker_container:\n name: my-reverse-proxy\n image: lionyti/tp-devops-httpd\n ports:\n - \"80:80\"\n networks:\n - name: my_network\n vars:\n ansible_pyt... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 280,
"all_permissive": false
} |
ansible_role | Luxoft/cordentity | 8e75bdbd79b0ad7cadb8b9946ae4a0b81cdbdf64 | 32 | devops/roles/node | 167 | [
"no_license"
] | [
{
"path": "devops/roles/node/tasks/main.yml",
"content": "---\n\n- name: Copy dockernode\n synchronize:\n src: \"{{ role_path }}/files/dockernode\"\n dest: \"{{ ansible_env.HOME}}\"\n delete: yes\n\n- name: Generate node.conf\n template:\n src: \"{{ role_path }}/templates/node.conf.j2\"\n d... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 2086,
"all_permissive": false
} |
ansible_role | lingul/microblog2 | 7f7b054c8bbb9af51763790e35c663b4dd43666b | 0 | ansible/roles/10-first-minutes | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/10-first-minutes/tasks/main.yml",
"content": "---\n- name: Set root password\n user:\n name: root\n password: \"{{ <PASSWORD> }}\"\n\n- name: Update apt-cache and upgrade\n apt:\n update_cache: True\n cache_valid_time: 3600\n upgrade: yes\n\n- name: Install packages... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2105,
"all_permissive": false
} |
ansible_role | lingul/microblog2 | 7f7b054c8bbb9af51763790e35c663b4dd43666b | 0 | ansible/roles/app_server | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/app_server/tasks/main.yml",
"content": "---\n- name: Get latest image from docker hub\n ansible.builtin.shell: docker pull linnea123/microblog:flask-exporter\n\n- name: Start the microblog docker container\n ansible.builtin.docker_container:\n name: microblog\n image: linnea... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 431,
"all_permissive": false
} |
ansible_role | lingul/microblog2 | 7f7b054c8bbb9af51763790e35c663b4dd43666b | 0 | ansible/roles/database | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/database/tasks/main.yml",
"content": "---\n- name: Start the database docker container\n docker_container:\n name: mysql\n image: mysql/mysql-server:5.7\n env:\n MYSQL_ROOT_PASSWORD: '<PASSWORD>'\n MYSQL_DATABASE: \"microblog\"\n MYSQL_USER: \"microblog\"\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 323,
"all_permissive": false
} |
ansible_role | lingul/microblog2 | 7f7b054c8bbb9af51763790e35c663b4dd43666b | 0 | ansible/roles/grafana | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/grafana/tasks/main.yml",
"content": "---\n- name: Set up the grafana ini\n ansible.builtin.copy:\n src: templates/grafana.ini\n dest: /tmp/grafana.ini\n\n- name: Create grafana volume\n ansible.builtin.docker_volume:\n name: grafana-data\n\n- name: Set up the Grafana cont... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1775,
"all_permissive": false
} |
ansible_role | lingul/microblog2 | 7f7b054c8bbb9af51763790e35c663b4dd43666b | 0 | ansible/roles/install_docker | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/install_docker/vars/main.yml",
"content": "packages:\n - python3-pip\n - python3-setuptools\n - python-pkg-resources\n\ndocker_requirements:\n - docker-ce\n - docker-ce-cli\n - containerd.io\n - docker-compose-plugin",
"license_type": "no_license",
"detected_licenses"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 773,
"all_permissive": false
} |
ansible_role | lingul/microblog2 | 7f7b054c8bbb9af51763790e35c663b4dd43666b | 0 | ansible/roles/load_balancer | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/load_balancer/templates/load-balancer.conf.j2",
"content": "http {\n upstream app-hosts {\n server {{ groups['appServer'][0] }}:8000;\n }\n\n access_log /var/log/nginx/access.log;\n error_log /var/log/nginx/error.log;\n\n server {\n listen 80;\n ser... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 2775,
"all_permissive": false
} |
ansible_role | lingul/microblog2 | 7f7b054c8bbb9af51763790e35c663b4dd43666b | 0 | ansible/roles/monitoring | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/monitoring/tasks/main.yml",
"content": "---\n- name: Create a docker network for the containers\n ansible.builtin.docker_network:\n name: monitor\n\n- name: Set up node exporter container\n ansible.builtin.docker_container:\n name: node_exporter\n image: prom/node-exporte... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 995,
"all_permissive": false
} |
ansible_role | lingul/microblog2 | 7f7b054c8bbb9af51763790e35c663b4dd43666b | 0 | ansible/roles/prometheus | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/prometheus/templates/prometheus.yml.j2",
"content": "global:\n scrape_interval: 30s\n\nscrape_configs:\n - job_name: \"prometheus\"\n static_configs:\n - targets: [\"0.0.0.0:9090\", '0.0.0.0:9100']\n labels:\n instance: prometheus\n - job_name: 'flaskapp... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1294,
"all_permissive": false
} |
ansible_role | aog11/postgresql-patroni-pgbouncer | a0c45b92f7b2fdcea039e05af08d5d30c3586330 | 2 | ansible/roles/consul | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/consul/tasks/main.yml",
"content": "---\n\n- name: Clearing /etc/yum.repos.d/hashicorp.repo\n file:\n path: /etc/yum.repos.d/hashicorp.repo\n state: absent\n\n- name: Installing yum-utils package\n package:\n name: yum-utils\n state: present\n\n- name: Adding HashiCorp... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 837,
"all_permissive": false
} |
ansible_role | aog11/postgresql-patroni-pgbouncer | a0c45b92f7b2fdcea039e05af08d5d30c3586330 | 2 | ansible/roles/haproxy | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/haproxy/tasks/main.yml",
"content": "---\n\n- name: HAProxy installation\n hosts: haproxy_server\n tasks:\n - name: Setting SELinux in Permissive mode\n selinux:\n policy: targeted\n state: permissive\n\n - name: Installing HAProxy package\n dnf:\n name: hap... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 480,
"all_permissive": false
} |
ansible_role | aog11/postgresql-patroni-pgbouncer | a0c45b92f7b2fdcea039e05af08d5d30c3586330 | 2 | ansible/roles/pgbouncer | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/pgbouncer/tasks/main.yml",
"content": "---\n\n- import_tasks: packages.yml\n\n- name: Check current Patroni cluster leader\n command: consul kv get \"{{ patroni_namespace }}\"/\"{{ patroni_scope }}\"/leader\n register: consul_output\n\n- name: Define Patroni cluster leader\n set_... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 3554,
"all_permissive": false
} |
ansible_role | aog11/postgresql-patroni-pgbouncer | a0c45b92f7b2fdcea039e05af08d5d30c3586330 | 2 | ansible/roles/postgres-patroni | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/postgres-patroni/tasks/patroni.yml",
"content": "---\n\n- name: Creating patroni directories\n file:\n path: \"{{ item }}\"\n owner: postgres\n group: postgres\n mode: '0755'\n state: directory\n with_items:\n - \"{{ patroni_config_dir }}\"\n - \"{{ patroni_lo... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 3570,
"all_permissive": false
} |
ansible_role | rusik69/interview_task | ca07f90468ac9216206ed72c9a5da7af41854638 | 0 | ansible/roles/docker | 167 | [
"no_license"
] | [
{
"path": "ansible/roles/docker/tasks/packages.yml",
"content": "---\n- name: install docker package\n apt:\n name: \"{{ item }}\"\n state: installed\n loop: \"{{ docker_packages }}\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 118
},
{
"path": "ansib... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 174,
"all_permissive": false
} |
ansible_role | nkyomuhendo/ansible_tutorial | fdf50c0205839524cd81d83d1580d1346a86433e | 0 | roles/base | 167 | [
"no_license"
] | [
{
"path": "roles/base/tasks/main.yml",
"content": "- name: add ssh key for user simone\n authorized_key:\n user: simone\n key: \"<KEY>\"\n\n- name: generate sshd_config file from template\n tags: ssh\n template:\n src: \"{{ ssh_template_file }}\"\n dest: /etc/ssh/sshd_config\n owner: root\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 297,
"all_permissive": false
} |
ansible_role | nkyomuhendo/ansible_tutorial | fdf50c0205839524cd81d83d1580d1346a86433e | 0 | roles/file_servers | 167 | [
"no_license"
] | [
{
"path": "roles/file_servers/tasks/main.yml",
"content": "- name: install Samba package (target all)\n tags: samba\n package:\n name: samba\n state: latest",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 101
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 101,
"all_permissive": false
} |
ansible_role | nkyomuhendo/ansible_tutorial | fdf50c0205839524cd81d83d1580d1346a86433e | 0 | roles/web_servers | 167 | [
"no_license"
] | [
{
"path": "roles/web_servers/tasks/main.yml",
"content": "- name: install apache and php packages\n tags: apache,httpd,php\n package:\n name: \n - \"{{ apache_package_name }}\"\n - \"{{ php_package_name }}\"\n state: latest\n\n- name: start and enable apache service\n tags: apache,httpd\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 738,
"all_permissive": false
} |
ansible_role | nkyomuhendo/ansible_tutorial | fdf50c0205839524cd81d83d1580d1346a86433e | 0 | roles/workstations | 167 | [
"no_license"
] | [
{
"path": "roles/workstations/tasks/main.yml",
"content": "- name: install unzip\n package:\n name: unzip\n\n- name: install terraform\n unarchive:\n src: https://releases.hashicorp.com/terraform/1.5.2/terraform_1.5.2_linux_arm64.zip\n dest: /usr/local/bin\n remote_src: yes\n mode: 0755\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 269,
"all_permissive": false
} |
ansible_role | Vanbliser/Project3 | 7924e83de59f7e1b8335b541bc9f93ebf8b48069 | 0 | .circleci/ansible/roles/configure-server | 167 | [
"no_license"
] | [
{
"path": ".circleci/ansible/roles/configure-server/tasks/main.yml",
"content": "- name: \"update apt packages\"\n become: true\n become_method: sudo\n apt:\n update_cache: yes\n\n- name: \"upgrade apt packages\"\n become: true\n become_method: sudo\n apt:\n upgrade: \"yes\"\n\n- name: \"Remove ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 544,
"all_permissive": false
} |
ansible_role | Vanbliser/Project3 | 7924e83de59f7e1b8335b541bc9f93ebf8b48069 | 0 | .circleci/ansible/roles/deploy | 167 | [
"no_license"
] | [
{
"path": ".circleci/ansible/roles/deploy/tasks/main.yml",
"content": "- name: \"create a ~/backend directory\"\n become: true\n become_method: sudo\n file:\n path: ~/backend\n state: directory\n\n- name: \"copy the zipped artifact into the server\"\n become: true\n become_method: sudo\n copy:\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 657,
"all_permissive": false
} |
ansible_role | williamlui00/Ansible-K8S | 3730b20571ae89fdb32eeb0c1328c0267a712bbb | 0 | roles/role-containerd | 167 | [
"no_license"
] | [
{
"path": "roles/role-containerd/handlers/main.yml",
"content": "---\n# handlers file for roles/role-containerd\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 46
},
{
"path": "roles/role-containerd/vars/main.yml",
"content": "---\n# vars file for roles/role-... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 2942,
"all_permissive": false
} |
ansible_role | williamlui00/Ansible-K8S | 3730b20571ae89fdb32eeb0c1328c0267a712bbb | 0 | roles/role-k8s | 167 | [
"no_license"
] | [
{
"path": "roles/role-k8s/handlers/main.yml",
"content": "---\n# handlers file for roles/role-k8s\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 39
},
{
"path": "roles/role-k8s/tasks/main.yml",
"content": "---\n# tasks file for roles/role-k8s\n#\n\n# Downloa... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 4872,
"all_permissive": false
} |
ansible_role | williamlui00/Ansible-K8S | 3730b20571ae89fdb32eeb0c1328c0267a712bbb | 0 | roles/role-lbg | 167 | [
"no_license"
] | [
{
"path": "roles/role-lbg/templates/temp-keepalived.j2",
"content": "global_defs {\n notification_email {\n }\n router_id LVS_DEVEL\n vrrp_skip_check_adv_addr\n vrrp_garp_interval 0\n vrrp_gna_interval 0\n}\n\nvrrp_script chk_haproxy {\n script \"killall -0 haproxy\"\n interval 2\n weight 2\n}\n\nv... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 6,
"total_bytes": 3077,
"all_permissive": false
} |
ansible_role | Tbaile/dotfiles_supercharged | 9b0e3cb69d619b698abe8ac43e990bd91dbd76f9 | 0 | roles/desktop_environment | 167 | [
"no_license"
] | [
{
"path": "roles/desktop_environment/files/konsole/profile",
"content": "[Appearance]\nColorScheme=Breeze\nFont=MesloLGM Nerd Font Mono,11,-1,5,50,0,0,0,0,0\n\n[General]\nCommand=/bin/zsh\nName=Tommaso\nParent=FALLBACK/\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 140... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 7,
"total_bytes": 7485,
"all_permissive": false
} |
ansible_role | Tbaile/dotfiles_supercharged | 9b0e3cb69d619b698abe8ac43e990bd91dbd76f9 | 0 | roles/machine | 167 | [
"no_license"
] | [
{
"path": "roles/machine/tasks/main.yml",
"content": "- name: Power management\n become: true\n become_user: root\n block:\n - name: Uninstall power-profiles-daemon\n ansible.builtin.dnf:\n name:\n - power-profiles-daemon\n state: removed\n\n - name: Install TLP\n a... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1474,
"all_permissive": false
} |
ansible_role | Tbaile/dotfiles_supercharged | 9b0e3cb69d619b698abe8ac43e990bd91dbd76f9 | 0 | roles/software | 167 | [
"no_license"
] | [
{
"path": "roles/software/tasks/main.yml",
"content": "- name: Install Distro Software\n become: true\n become_user: root\n ansible.builtin.dnf:\n name:\n - ark\n - kate\n - plasma-browser-integration\n - usbmuxd\n - libimobiledevice\n - \"@Virtualization\"\n\n- name: Ins... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 5120,
"all_permissive": false
} |
ansible_role | Tbaile/dotfiles_supercharged | 9b0e3cb69d619b698abe8ac43e990bd91dbd76f9 | 0 | roles/system | 167 | [
"no_license"
] | [
{
"path": "roles/system/tasks/main.yml",
"content": "- name: Sudo Operations\n become: true\n become_user: root\n block:\n - name: Start NTP\n ansible.builtin.service:\n name: chronyd\n enabled: true\n state: started\n\n - name: Set System Locales\n community.general.... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1159,
"all_permissive": false
} |
ansible_role | Tbaile/dotfiles_supercharged | 9b0e3cb69d619b698abe8ac43e990bd91dbd76f9 | 0 | roles/user | 167 | [
"no_license"
] | [
{
"path": "roles/user/handlers/main.yml",
"content": "- name: Upload SSH key to GitHub\n community.general.github_key:\n name: Tommaso's XPS\n token: \"{{ github_ssh_token }}\"\n pubkey: \"{{ lookup('file', '/home/' + ansible_user_id + '/.ssh/id_' + ssh_type + '.pub') }}\"\n listen: ssh key gener... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 7,
"total_bytes": 4639,
"all_permissive": false
} |
ansible_role | Hadeeq10/terraform-ansible-integration | 3aa6102a11ab5f91d0523bb055bf3993ece63da4 | 0 | roles/webserver-n01662612 | 171 | [
"no_license"
] | [
{
"path": "roles/webserver-n01662612/vars/main.yml",
"content": "---\n# vars file for roles/webserver-n01662612\nweb_nodes:\n - lnx-n01662612v1.canadacentral.cloudapp.azure.com\n - lnx-n01662612v2.canadacentral.cloudapp.azure.com\n - lnx-n01662612v3.canadacentral.cloudapp.azure.com\n",
"license_type"... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 1168,
"all_permissive": false
} |
ansible_role | fwidder/Linux1x1 | 85bbcb8fa656f8e3eeac5bd6330193988be5462e | 0 | ansible/005-Rollen/roles/ps1-role | 171 | [
"no_license"
] | [
{
"path": "ansible/005-Rollen/roles/ps1-role/tests/test.yml",
"content": "---\n- hosts: localhost\n remote_user: root\n roles:\n - ps1-role",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 66
},
{
"path": "ansible/005-Rollen/roles/ps1-role/vars/main.yml",
"... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 340,
"all_permissive": false
} |
ansible_role | fwidder/Linux1x1 | 85bbcb8fa656f8e3eeac5bd6330193988be5462e | 0 | ansible/006-App-and-Web/roles/app-role | 171 | [
"no_license"
] | [
{
"path": "ansible/006-App-and-Web/roles/app-role/tasks/main.yml",
"content": "---\n# tasks file for web-role\n- name: install apache2\n become: yes\n apt:\n name: apache2\n state: present\n\n- name: install php\n become: yes\n apt:\n name: php5\n state: present\n\n- name: copy info.php\n b... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 319,
"all_permissive": false
} |
ansible_role | fwidder/Linux1x1 | 85bbcb8fa656f8e3eeac5bd6330193988be5462e | 0 | ansible/006-App-and-Web/roles/web-role | 171 | [
"no_license"
] | [
{
"path": "ansible/006-App-and-Web/roles/web-role/tasks/main.yml",
"content": "---\n# tasks file for web-role\n- name: install nginx\n become: yes\n apt:\n name: nginx\n state: present\n\n- name: copy config\n become: yes\n template:\n src: default.j2\n dest: /etc/nginx/sites-enabled/default... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 493,
"all_permissive": false
} |
ansible_role | fwidder/Linux1x1 | 85bbcb8fa656f8e3eeac5bd6330193988be5462e | 0 | ansible/007-App-and-Web-Refactoring/roles/app-role | 171 | [
"no_license"
] | [
{
"path": "ansible/007-App-and-Web-Refactoring/roles/app-role/files/info.php",
"content": "<?php\n\tphpinfo();\n\tphpinfo(INFO_MODULES);\n?>\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 46
},
{
"path": "ansible/007-App-and-Web-Refactoring/roles/app-role/task... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 7,
"total_bytes": 677,
"all_permissive": false
} |
ansible_role | fwidder/Linux1x1 | 85bbcb8fa656f8e3eeac5bd6330193988be5462e | 0 | ansible/007-App-and-Web-Refactoring/roles/web-role | 171 | [
"no_license"
] | [
{
"path": "ansible/007-App-and-Web-Refactoring/roles/web-role/tasks/main.yml",
"content": "---\n# tasks file for web-role\n- name: install nginx\n become: yes\n apt:\n name: nginx\n state: present\n tags: install\n\n- name: copy config\n become: yes\n template:\n src: default.j2\n dest: /et... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 572,
"all_permissive": false
} |
ansible_role | komarovps/infostart-meetup-ansible | eb2eb7ba5e95c2bcadc36ace50d4d100248fa54f | 0 | roles/onec-server | 171 | [
"no_license"
] | [
{
"path": "roles/onec-server/tasks/main.yml",
"content": "---\n\n- include: find-services.yml\n when: onec_server_find_services is defined and onec_server_find_services\n\n- name: add new chocolatey internal source\n win_chocolatey_source:\n name: '{{ choco_ext_repo_name }}'\n state: present\n so... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 3643,
"all_permissive": false
} |
ansible_role | fazal23/AWS | a040db046a82f599e9513914d684855b4d309775 | 0 | roles/aws-ec2 | 171 | [
"no_license"
] | [
{
"path": "roles/aws-ec2/tasks/main.yml",
"content": "---\n- import_playbook: ec2-\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 28
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 28,
"all_permissive": false
} |
ansible_role | fazal23/AWS | a040db046a82f599e9513914d684855b4d309775 | 0 | roles/httpd_ssl | 171 | [
"no_license"
] | [
{
"path": "roles/httpd_ssl/tasks/main.yml",
"content": "---\n# tasks file for httpd\n- name: Provision an EC2 Instance\n hosts: webserver\n connection: local\n gather_facts: False\n#- name: \"fail if Operating System is not CentOS-7.x\"\n# fail: msg=\"Operating System {{ ansible_distribution }}-{{ ansib... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 465,
"all_permissive": false
} |
ansible_role | elssuy/ansible-kubernetes | ae79994bd8eb8da64337e6167e3b709ed8e78ac8 | 0 | roles/master | 171 | [
"no_license"
] | [
{
"path": "roles/master/tasks/main.yaml",
"content": "---\n\n- name: Get k3s installation script\n get_url: \n url: https://get.k3s.io \n dest: /tmp/k3s-install.sh\n mode: 0755\n\n- name: Execute installation\n shell: /tmp/k3s-install.sh\n environment:\n INSTALL_K3S_EXEC: server --disable tra... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 672,
"all_permissive": false
} |
ansible_role | elssuy/ansible-kubernetes | ae79994bd8eb8da64337e6167e3b709ed8e78ac8 | 0 | roles/worker | 171 | [
"no_license"
] | [
{
"path": "roles/worker/tasks/main.yaml",
"content": "---\n- name: Get k3s installation script\n get_url: \n url: https://get.k3s.io \n dest: /tmp/k3s-install.sh\n mode: 0755\n\n- name: Execute installation\n shell: /tmp/k3s-install.sh\n environment:\n K3S_URL: \"https://{{ groups['master'][0... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 317,
"all_permissive": false
} |
ansible_role | BATYD-Turksat/ansible-cache-system | 65c6d3c2a6c7b0e774abf3931a3217f977e4f611 | 0 | roles/nginx | 171 | [
"no_license"
] | [
{
"path": "roles/nginx/tasks/install.yml",
"content": "---\n\n# Official Nginx ppa for ubuntu-based distributions\n# http://nginx.org\n\n- name: Add official Debian APT repository\n when: ansible_distribution == 'Debian'\n sudo: yes\n apt_repository:\n repo: \"deb http://nginx.org/packages/debian/ {{a... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 3979,
"all_permissive": false
} |
ansible_role | dkalamkar/ansible-examples | 89db8332e45d12b2c2aaf33c548f946a1f8e7549 | 0 | tomcat-standalone/roles/tomcat | 171 | [
"no_license"
] | [
{
"path": "tomcat-standalone/roles/tomcat/tasks/main.yml",
"content": "---\r\n- name: Install Java 1.7\r\n yum: name=java-1.7.0-openjdk state=present\r\n\r\n- name: Download Tomcat\r\n get_url: url=http://mirror.symnds.com/software/Apache/tomcat/tomcat-7/v7.0.42/bin/apache-tomcat-7.0.42.tar.gz dest=/opt/a... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1400,
"all_permissive": false
} |
ansible_role | PadmaRao12345/kafka-cluster-ansible | f79df9e2fa1d7bc157e6f920ed7efc822d843510 | 0 | playbooks/roles/common | 171 | [
"no_license"
] | [
{
"path": "playbooks/roles/common/tasks/main.yml",
"content": "---\n\n- name: Creating Kafka Group | {{ kafkaGroup }}\n group:\n name: \"{{ memcached_group }}\"\n state: present\n\n- name: Creating Kafka User | {{ kafkaUser }}\n user:\n name: \"{{ kafkaUser }}\"\n state: present\n group: \"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 648,
"all_permissive": false
} |
ansible_role | PadmaRao12345/kafka-cluster-ansible | f79df9e2fa1d7bc157e6f920ed7efc822d843510 | 0 | playbooks/roles/install | 171 | [
"no_license"
] | [
{
"path": "playbooks/roles/install/tasks/main.yml",
"content": "---\n\n- name: Downloading Kafka | {{ kafkaVersion }}\n unarchive:\n src: \"{{ kafkaDownloadUrl }}\"\n dest: \"{{ kafkaInstallPath }}\"\n group: \"{{ kafkaGroup }}\"\n user: \"{{ kafkaUser }}\"\n remote_src: yes\n\n- name: Gener... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 754,
"all_permissive": false
} |
ansible_role | PadmaRao12345/kafka-cluster-ansible | f79df9e2fa1d7bc157e6f920ed7efc822d843510 | 0 | playbooks/roles/service | 171 | [
"no_license"
] | [
{
"path": "playbooks/roles/service/tasks/main.yml",
"content": "---\n\n- name: Creating Service File | Kafka\n template:\n src: service.j2\n dest: /usr/lib/systemd/system/kafka.service\n\n- name: Starting kafka Service\n systemd:\n name: kafka\n state: started\n enabled: true\n daemon_re... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 710,
"all_permissive": false
} |
ansible_role | sir-onze/Ansible | 1d8c590644827266096af695c75587b163275f76 | 0 | server/roles/database | 171 | [
"no_license"
] | [
{
"path": "server/roles/database/tasks/main.yml",
"content": "- name: \"Instalação do git\"\n apt: pkg=git state=latest\n tags: database\n\n- name: \"Clone do repositorio do hotCRP\"\n git:\n repo: 'https://github.com/kohler/hotcrp.git'\n dest: /home/macz/hotcrp\n update: no\n tags: database\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1741,
"all_permissive": false
} |
ansible_role | sir-onze/Ansible | 1d8c590644827266096af695c75587b163275f76 | 0 | server/roles/gcp | 171 | [
"no_license"
] | [
{
"path": "server/roles/gcp/tasks/main.yml",
"content": "# Cria Um Disco Com Boot Para Ubuntu 16.04 LTS\n- name: create a disk\n gcp_compute_disk:\n name: \"{{ item }}\"\n size_gb: 10\n source_image: projects/ubuntu-os-cloud/global/images/family/ubuntu-1804-lts\n zone: \"{{ gcp_zone }}\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2951,
"all_permissive": false
} |
ansible_role | sir-onze/Ansible | 1d8c590644827266096af695c75587b163275f76 | 0 | server/roles/webserver | 171 | [
"no_license"
] | [
{
"path": "server/roles/webserver/tasks/main.yml",
"content": "- name: \"Instalação do vim\"\n apt: pkg=vim state=latest\n tags: app\n\n#- name: Install PHP CLI\n # apt: pkg=libapache2-mod-php state=latest\n\n#- name: Install PHP CLI\n # apt: pkg=php state=latest\n\n#- name: Install PHP CLI\n # apt: pkg=p... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 3335,
"all_permissive": false
} |
ansible_role | sir-onze/Ansible | 1d8c590644827266096af695c75587b163275f76 | 0 | testes/roles/gcp | 171 | [
"no_license"
] | [
{
"path": "testes/roles/gcp/tasks/main.yml",
"content": "# Cria Um Disco Com Boot Para Ubuntu 16.04 LTS\n- name: create a disk\n gcp_compute_disk:\n name: \"{{ item }}\"\n size_gb: 10\n source_image: projects/ubuntu-os-cloud/global/images/family/ubuntu-1604-lts\n zone: \"{{ gcp_zone }}\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1777,
"all_permissive": false
} |
ansible_role | piotex/devops-projs | 436781ccf3892e9196b69e508480ebcc379ae7ce | 0 | jenkins-ansible-java-tomcat/roles/install-java | 171 | [
"no_license"
] | [
{
"path": "jenkins-ansible-java-tomcat/roles/install-java/tasks/main.yml",
"content": "---\n- name: Install required dependencies\n yum:\n name: \"{{ item }}\"\n state: present\n loop:\n - fontconfig\n - java-17-openjdk",
"license_type": "no_license",
"detected_licenses": [],
"size... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 137,
"all_permissive": false
} |
ansible_role | piotex/devops-projs | 436781ccf3892e9196b69e508480ebcc379ae7ce | 0 | jenkins-ansible-java-tomcat/roles/install-jenkins | 171 | [
"no_license"
] | [
{
"path": "jenkins-ansible-java-tomcat/roles/install-jenkins/tasks/main.yml",
"content": "---\n- name: Download Jenkins repository file\n get_url:\n url: https://pkg.jenkins.io/redhat-stable/jenkins.repo\n dest: /etc/yum.repos.d/jenkins.repo\n\n- name: Import Jenkins GPG key\n rpm_key:\n key: htt... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 3704,
"all_permissive": false
} |
ansible_role | piotex/devops-projs | 436781ccf3892e9196b69e508480ebcc379ae7ce | 0 | jenkins-ansible-java-tomcat/roles/update-firewall | 171 | [
"no_license"
] | [
{
"path": "jenkins-ansible-java-tomcat/roles/update-firewall/tasks/main.yml",
"content": "---\n- name: Configure firewall for Jenkins\n firewalld:\n state: enabled\n permanent: yes\n service: jenkins\n\n- name: Add Jenkins port to firewall\n firewalld:\n state: enabled\n permanent: yes\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 403,
"all_permissive": false
} |
ansible_role | piotex/devops-projs | 436781ccf3892e9196b69e508480ebcc379ae7ce | 0 | jenkins-ansible-java-tomcat/roles/update-packages | 171 | [
"no_license"
] | [
{
"path": "jenkins-ansible-java-tomcat/roles/update-packages/tasks/main.yml",
"content": "---\n- name: Upgrade system packages\n yum:\n name: '*'\n state: latest",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 74
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 74,
"all_permissive": false
} |
ansible_role | piotex/devops-projs | 436781ccf3892e9196b69e508480ebcc379ae7ce | 0 | jenkins-ansible-java-tomcat/roles/update-time | 171 | [
"no_license"
] | [
{
"path": "jenkins-ansible-java-tomcat/roles/update-time/tasks/main.yml",
"content": "---\n- name: Get date and time from WorldTimeAPI\n uri:\n url: \"http://worldtimeapi.org/api/timezone/Europe/Warsaw\"\n return_content: yes\n register: world_time\n changed_when: false\n\n- name: Print world_time\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 342,
"all_permissive": false
} |
ansible_role | piotex/devops-projs | 436781ccf3892e9196b69e508480ebcc379ae7ce | 0 | spring-cicd/ansible/roles/install_java | 171 | [
"no_license"
] | [
{
"path": "spring-cicd/ansible/roles/install_java/tasks/main.yml",
"content": "---\n- name: Install required dependencies\n yum:\n name: \"{{ java_version }}\"\n state: present",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 98
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 98,
"all_permissive": false
} |
ansible_role | piotex/devops-projs | 436781ccf3892e9196b69e508480ebcc379ae7ce | 0 | spring-cicd/ansible/roles/setup_jenkins | 171 | [
"no_license"
] | [
{
"path": "spring-cicd/ansible/roles/setup_jenkins/tasks/import_gpg_key.yml",
"content": "---\n- name: Download Jenkins repository file\n get_url:\n url: https://pkg.jenkins.io/redhat-stable/jenkins.repo\n dest: /etc/yum.repos.d/jenkins.repo\n\n- name: Import Jenkins GPG key\n rpm_key:\n key: htt... | {
"task_files": 11,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 11,
"total_bytes": 3987,
"all_permissive": false
} |
ansible_role | AlexanderWitteveen/ALEX.Ansible.Preinstall | 6b973afe010a908f283f9eb49d03ad60d3e58b5d | 0 | roles/adduser | 171 | [
"no_license"
] | [
{
"path": "roles/adduser/scripts/add.user.sh",
"content": "#!/bin/bash\n\nipaddress=$1\ndefaultusername=$2\nusername=$3\npassword=$4\n\n\nexpect -f $(dirname \"$0\")/add.user.expect \"$ipaddress\" \"$defaultusername\" \"$username\" \"$password\"\nif [[ \"$?\" != \"0\" ]]; then \n echo \"**** Error: Expec... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 745,
"all_permissive": false
} |
ansible_role | AlexanderWitteveen/ALEX.Ansible.Preinstall | 6b973afe010a908f283f9eb49d03ad60d3e58b5d | 0 | roles/aptupgrade | 171 | [
"no_license"
] | [
{
"path": "roles/aptupgrade/templates/sources.list.debian12.j2",
"content": "deb http://deb.debian.org/debian/ bookworm non-free-firmware main contrib non-free\ndeb http://security.debian.org/debian-security bookworm-security main contrib non-free\ndeb http://deb.debian.org/debian/ bookworm-updates main con... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1808,
"all_permissive": false
} |
ansible_role | AlexanderWitteveen/ALEX.Ansible.Preinstall | 6b973afe010a908f283f9eb49d03ad60d3e58b5d | 0 | roles/autologon | 171 | [
"no_license"
] | [
{
"path": "roles/autologon/scripts/auto.logon.sh",
"content": "#!/bin/bash\n\nipaddress=$1\nusername=$2\npassword=$3\nkeypath=$4\npubpath=$5\nexpect=$6\n\npub=$(cat $pubpath)\n\nexpect -f $(dirname \"$0\")/auto.logon.$expect.expect \"$ipaddress\" \"$username\" \"$password\" \"$pub\" \"$keypath\"\nif [[ \"$?... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 804,
"all_permissive": false
} |
ansible_role | AlexanderWitteveen/ALEX.Ansible.Preinstall | 6b973afe010a908f283f9eb49d03ad60d3e58b5d | 0 | roles/basecommands | 171 | [
"no_license"
] | [
{
"path": "roles/basecommands/tasks/main.yml",
"content": "---\n\n- name: Install basecommands all\n apt:\n name:\n - pgp\n - pip\n - wget\n - curl\n - dnsutils\n - nmap\n - net-tools\n - ntp\n state: present\n update_cache: yes\n vars:\n ansible_connect... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 725,
"all_permissive": false
} |
ansible_role | AlexanderWitteveen/ALEX.Ansible.Preinstall | 6b973afe010a908f283f9eb49d03ad60d3e58b5d | 0 | roles/certificates | 171 | [
"no_license"
] | [
{
"path": "roles/certificates/tasks/main.yml",
"content": "---\n\n- name: Ensure CA certificate folder exists\n file:\n path: \"/usr/share/ca-certificates/{{ prop_basename }}\"\n state: directory\n owner: root\n group: root\n mode: 0755\n vars:\n ansible_connection: ssh\n ansible_host... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 5194,
"all_permissive": false
} |
ansible_role | AlexanderWitteveen/ALEX.Ansible.Preinstall | 6b973afe010a908f283f9eb49d03ad60d3e58b5d | 0 | roles/configuser | 171 | [
"no_license"
] | [
{
"path": "roles/configuser/tasks/main.yml",
"content": "---\n\n- name: Add user config folder\n ansible.builtin.file:\n path: /home/{{ prop_admin_username }}/.config\n owner: \"{{ prop_admin_username }}\"\n group: \"{{ prop_admin_groupname }}\"\n mode: '0700'\n state: directory\n vars:\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 639,
"all_permissive": false
} |
ansible_role | AlexanderWitteveen/ALEX.Ansible.Preinstall | 6b973afe010a908f283f9eb49d03ad60d3e58b5d | 0 | roles/firstlogon | 171 | [
"no_license"
] | [
{
"path": "roles/firstlogon/tasks/main.yml",
"content": "---\n\n- name: First logon\n shell: |\n {{ role_path }}/scripts/first.logon.sh \"{{ prop_ipaddress }}\" \"{{ prop_admin_password }}\" \"{{ prop_firstlogon_expect }}\" \"{{ prop_install_username }}\" \"{{ prop_install_password }}\"\n if [[ \"$?\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 823,
"all_permissive": false
} |
ansible_role | AlexanderWitteveen/ALEX.Ansible.Preinstall | 6b973afe010a908f283f9eb49d03ad60d3e58b5d | 0 | roles/hostname | 171 | [
"no_license"
] | [
{
"path": "roles/hostname/tasks/main.yml",
"content": "---\n\n# see https://www.linuxfromscratch.org/blfs/view/svn/postlfs/logon.html\n\n\n- name: Set a hostname\n ansible.builtin.hostname:\n name: \"{{ prop_hostname }}\"\n register: hostnameresult\n vars:\n ansible_connection: ssh\n ansible_hos... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 474,
"all_permissive": false
} |
ansible_role | AlexanderWitteveen/ALEX.Ansible.Preinstall | 6b973afe010a908f283f9eb49d03ad60d3e58b5d | 0 | roles/mountsmbshare | 171 | [
"no_license"
] | [
{
"path": "roles/mountsmbshare/tasks/main.yml",
"content": "---\n\n- name: Mount SMB volume\n ansible.posix.mount:\n src: \"{{ item.source }}\"\n path: \"{{ item.path }}\"\n opts: 'rw,vers=3,file_mode=0777,dir_mode=0777,dom=WORKGROUP,credentials=/home/{{ args_mountsmb_username }}/.{{ args_mountsmb... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 436,
"all_permissive": false
} |
ansible_role | AlexanderWitteveen/ALEX.Ansible.Preinstall | 6b973afe010a908f283f9eb49d03ad60d3e58b5d | 0 | roles/remoteinstallpython3 | 171 | [
"no_license"
] | [
{
"path": "roles/remoteinstallpython3/tasks/main.yml",
"content": "---\n\n- name: Remote install python3\n shell: |\n {{ role_path }}/scripts/remote.install.python3.sh \"{{ prop_ipaddress }}\" \"{{ prop_admin_username }}\"\n if [[ \"$?\" != \"0\" ]]; then\n echo \"Error executing script\" \n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 609,
"all_permissive": false
} |
ansible_role | AlexanderWitteveen/ALEX.Ansible.Preinstall | 6b973afe010a908f283f9eb49d03ad60d3e58b5d | 0 | roles/remoteinstallsudo | 171 | [
"no_license"
] | [
{
"path": "roles/remoteinstallsudo/scripts/remote.install.sudo.sh",
"content": "#!/bin/bash\n\nipaddress=$1\ndefaultusername=$2\npassword=$3\nexpect=$4\n\nexpect -f $(dirname \"$0\")/remote.install.sudo.$expect.expect \"$ipaddress\" \"$defaultusername\" \"$password\"\nif [[ \"$?\" != \"0\" ]]; then \n ec... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 711,
"all_permissive": false
} |
ansible_role | AlexanderWitteveen/ALEX.Ansible.Preinstall | 6b973afe010a908f283f9eb49d03ad60d3e58b5d | 0 | roles/resetsshhostcert | 171 | [
"no_license"
] | [
{
"path": "roles/resetsshhostcert/tasks/main.yml",
"content": "---\n\n- name: Remove file (delete file)\n ansible.builtin.file:\n path: /etc/ssh/ssh_host_*\n state: absent\n vars:\n ansible_connection: ssh\n ansible_host: \"{{ prop_ipaddress }}\"\n become: true\n\n- name: create host keys\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 764,
"all_permissive": false
} |
ansible_role | AlexanderWitteveen/ALEX.Ansible.Preinstall | 6b973afe010a908f283f9eb49d03ad60d3e58b5d | 0 | roles/sudouser | 171 | [
"no_license"
] | [
{
"path": "roles/sudouser/scripts/sudo.user.sh",
"content": "#!/bin/bash\n\nipaddress=$1\nusername=$2\npassword=$3\n\nexpect -f $(dirname \"$0\")/sudo.user.expect \"$ipaddress\" \"$username\" \"$password\"\nif [[ \"$?\" != \"0\" ]]; then \n echo \"**** Error: Expect failed\"\nfi\n",
"license_type": "... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 630,
"all_permissive": false
} |
ansible_role | marciorbr/k8s-cluster-ansible | 94bcb34fbd9baeb428ed43180292e60ed0be26be | 0 | roles/commons | 171 | [
"no_license"
] | [
{
"path": "roles/commons/vars/main.yml",
"content": "---\npackages: [vim,wget,curl,unzip,lsof,tree,git,gcc,ca-certificates,software-properties-common,apt-transport-https,build-essential]",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 132
},
{
"path": "roles/common... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 520,
"all_permissive": false
} |
ansible_role | marciorbr/k8s-cluster-ansible | 94bcb34fbd9baeb428ed43180292e60ed0be26be | 0 | roles/docker | 171 | [
"no_license"
] | [
{
"path": "roles/docker/tasks/pre-install.yml",
"content": "---\n- name: Removendo outras versões docker\n apt:\n name: \"{{ item }}\"\n state: absent\n loop: \"{{ docker.apt_dep_remove }}\"\n \n- name: Instalando dependências docker\n apt:\n name: \"{{ item }}\"\n state: present\n lo... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 2189,
"all_permissive": false
} |
ansible_role | marciorbr/k8s-cluster-ansible | 94bcb34fbd9baeb428ed43180292e60ed0be26be | 0 | roles/haproxy | 171 | [
"no_license"
] | [
{
"path": "roles/haproxy/templates/haproxy.cfg.j2",
"content": "# Configurações Global\nglobal\n log /dev/log\tlocal0\n\tlog /dev/log\tlocal1 notice\n\tchroot /var/lib/haproxy\n\tstats socket /var/lib/haproxy/stats mode 660 level admin\n\tstats timeout {{ haproxy_stats_timeout }}\n\tuser {{ haproxy_user ... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 7,
"total_bytes": 5322,
"all_permissive": false
} |
ansible_role | marciorbr/k8s-cluster-ansible | 94bcb34fbd9baeb428ed43180292e60ed0be26be | 0 | roles/kubernetes | 171 | [
"no_license"
] | [
{
"path": "roles/kubernetes/tasks/main.yml",
"content": "---\n- include: 00 - pre-install.yml\n- include: 01 - install.yml\n- include: 02 - init_k8s_cluster.yml\n- include: 03 - join_k8s_other_master.yml\n- include: 04 - join_k8s_worker.yml",
"license_type": "no_license",
"detected_licenses": [],
... | {
"task_files": 6,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 9,
"total_bytes": 6606,
"all_permissive": false
} |
ansible_role | LaMonF/ansible_system_install | 0068586f8aead14f785ece17d8249b811afc361c | 0 | roles/system | 171 | [
"no_license"
] | [
{
"path": "roles/system/tasks/packages.yml",
"content": "---\n\n- apt:\n update_cache: yes\n upgrade: dist\n- debug:\n msg: final destination \"{{ final_destination }}\"\n- apt:\n name: \"{{ item }}\"\n state: present\n with_items:\n - ansible \n - git\n ... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 597,
"all_permissive": false
} |
ansible_role | 0xbbeer/devops.internship-ansible | abdd8f4bd086f010ea67fe67fe7d4d40adafc1f4 | 0 | lesson3/roles/apache | 171 | [
"no_license"
] | [
{
"path": "lesson3/roles/apache/tasks/setup-Debian.yml",
"content": "---\n- name: Ensure Apache2 is installed on Debian\\Ubuntu.\n apt: \"name={{ apache_package }} state={{ apache_packages_state }}\"",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 126
},
{
"path":... | {
"task_files": 4,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 8,
"total_bytes": 2437,
"all_permissive": false
} |
ansible_role | 0xbbeer/devops.internship-ansible | abdd8f4bd086f010ea67fe67fe7d4d40adafc1f4 | 0 | lesson3/roles/vsftpd | 171 | [
"no_license"
] | [
{
"path": "lesson3/roles/vsftpd/defaults/main.yml",
"content": "---\nanonymous_enable: yes\nupload_path: /var/ftp/pub/upload/\nftp_path: /var/ftp/pub/\nlocal_enable: YES\nanon_root: /var/ftp/pub/upload\nno_anon_password: YES",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": ... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 7,
"total_bytes": 2787,
"all_permissive": false
} |
ansible_role | ArdanaCLM/vmfactory-ansible | 98e3a899c4396767f6c47dd7fa6dc11d588830e5 | 0 | roles/ardana-hypervisor-monitoring | 171 | [
"permissive"
] | [
{
"path": "roles/ardana-hypervisor-monitoring/files/detection/ahv.py",
"content": "#!/usr/bin/python\n#\n# (c) Copyright 2016 Hewlett Packard Enterprise Development LP\n# (c) Copyright 2017 SUSE LLC\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n# not use this file except i... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 12502,
"all_permissive": true
} |
ansible_role | max-zubov/ansible-labs | 7598370723958dbf9d62c51673a27bd8b717db1e | 0 | cm/ansible/day-2/roles/java_test | 171 | [
"no_license"
] | [
{
"path": "cm/ansible/day-2/roles/java_test/tasks/main.yml",
"content": "---\n# tasks file for java_test\n- name: Java Version (java 8 allways)\n shell: java -version 2>&1 | grep version | awk '{print $3}' | sed 's/[^0-9._]//g'\n register: java_version_installed\n- debug: \n var: java_version_installed... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 432,
"all_permissive": false
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.