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 | ihcsof/VirtualizationAndCloud | 8dcba8c64cf3bf01c1318063880555ec3e6ef917 | 0 | project/roles/swarm | 266 | [
"no_license"
] | [
{
"path": "project/roles/swarm/tasks/main.yml",
"content": "---\n# tasks file for roles/swarm\n- name: Install Docker SDK for python\n ansible.builtin.apt:\n pkg: # we do need py3!\n - python3-docker\n become: true\n\n# TASK 4\n- name: Check/init swarm\n community.docker.docker_swarm:\n state:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2043,
"all_permissive": false
} |
ansible_role | ihcsof/VirtualizationAndCloud | 8dcba8c64cf3bf01c1318063880555ec3e6ef917 | 0 | project/roles/swarm-services | 266 | [
"no_license"
] | [
{
"path": "project/roles/swarm-services/handlers/main.yml",
"content": "---\n# handlers file for roles/swarm-services\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 45
},
{
"path": "project/roles/swarm-services/templates/configs/images/forgejo/Dockerfile",
"... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 26,
"total_bytes": 39118,
"all_permissive": false
} |
ansible_role | driden/env_setup | 7e09ef3ba181b29b5e2000556e3374ac16828d1d | 1 | roles/archlinux | 266 | [
"no_license"
] | [
{
"path": "roles/archlinux/tasks/main.yml",
"content": "- name: Install Paru\n ansible.builtin.command: echo \"installing Paru\"\n\n- name: Bleh\n ansible.builtin.debug:\n msg: \"this task runs after the example role\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes":... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 159,
"all_permissive": false
} |
ansible_role | driden/env_setup | 7e09ef3ba181b29b5e2000556e3374ac16828d1d | 1 | roles/dotfiles | 266 | [
"no_license"
] | [
{
"path": "roles/dotfiles/tasks/main.yml",
"content": "---\n- name: Ensure dotfiles repository is cloned locally.\n git:\n repo: \"{{ dotfiles_repo }}\"\n dest: \"{{ dotfiles_repo_local_destination }}\"\n accept_hostkey: true\n depth: 1\n become: false\n\n- name: Ensure all configured dotfiles... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1350,
"all_permissive": false
} |
ansible_role | driden/env_setup | 7e09ef3ba181b29b5e2000556e3374ac16828d1d | 1 | roles/zsh | 266 | [
"no_license"
] | [
{
"path": "roles/zsh/defaults/main.yml",
"content": "---\nzsh_install: false\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 24
},
{
"path": "roles/zsh/tasks/main.yml",
"content": "---\n- name: Download 'oh-my-zsh' installation script\n get_url:\n url: ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 712,
"all_permissive": false
} |
ansible_role | Nico-Dobrowolski/ansible | 1d4ca8d12783ce12f89eeb6df1935547b8d35b41 | 0 | provisioner/roles/apache | 266 | [
"no_license"
] | [
{
"path": "provisioner/roles/apache/tasks/main.yml",
"content": "---\n- name : Démarrer Apache\n become : yes\n service : name=apache2 state=started enabled=true\n\n- name : Redémarrer Apache\n become : yes\n service : name=apache2 state=restarted enabled=true\n\n\n",
"license_type": "no_license",
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 195,
"all_permissive": false
} |
ansible_role | Nico-Dobrowolski/ansible | 1d4ca8d12783ce12f89eeb6df1935547b8d35b41 | 0 | provisioner/roles/fail2ban | 266 | [
"no_license"
] | [
{
"path": "provisioner/roles/fail2ban/tasks/main.yml",
"content": "---\n- name : Installation de fail2ban\n become : yes\n apt: name=fail2ban state=latest\n\n- name : Configuration fail2ban\n become : yes\n copy:\n src : defaults-debian.conf\n dest : /etc/fail2ban/jail.d/defaults-debian.conf\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 468,
"all_permissive": false
} |
ansible_role | Nico-Dobrowolski/ansible | 1d4ca8d12783ce12f89eeb6df1935547b8d35b41 | 0 | provisioner/roles/laravel-deploy | 266 | [
"no_license"
] | [
{
"path": "provisioner/roles/laravel-deploy/tasks/main.yml",
"content": "\n---\n\n- name: Ajout de dépendances pour les versions de PHP.\n become: true\n apt:\n name:\n - apt-transport-https\n - ca-certificates\n state: present\n\n- name: Ajouter la clé apt d'<NAME>.\n become: true\n apt... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2502,
"all_permissive": false
} |
ansible_role | Nico-Dobrowolski/ansible | 1d4ca8d12783ce12f89eeb6df1935547b8d35b41 | 0 | provisioner/roles/react-deploy | 266 | [
"no_license"
] | [
{
"path": "provisioner/roles/react-deploy/tasks/.env.production",
"content": "REACT_APP_PROD_API_BASE_URL=http://192.168.50.50",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 48
},
{
"path": "provisioner/roles/react-deploy/tasks/main.yml",
"content": "---\n- na... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1749,
"all_permissive": false
} |
ansible_role | Nico-Dobrowolski/ansible | 1d4ca8d12783ce12f89eeb6df1935547b8d35b41 | 0 | provisioner/roles/user | 266 | [
"no_license"
] | [
{
"path": "provisioner/roles/user/tasks/main.yml",
"content": "---\n- name : Création d'une liste d'utilisateur par defaut\n become : true\n user : name={{ item.username }} shell=/bin/bash comment='Default user by Ansible' state=present\n with_items :\n - { username: 'dev-user' }\n",
"license_type... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 219,
"all_permissive": false
} |
ansible_role | Nico-Dobrowolski/ansible | 1d4ca8d12783ce12f89eeb6df1935547b8d35b41 | 0 | provisioner/roles/utils | 266 | [
"no_license"
] | [
{
"path": "provisioner/roles/utils/tasks/main.yml",
"content": "---\n\n- name: Exécuter [apt-get update]\n become: true\n apt:\n update_cache: yes\n\n- name : Installation des outils par défaut\n become: true\n apt:\n name :\n - apache2\n - git\n - curl\n - wget\n - npm\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 246,
"all_permissive": false
} |
ansible_role | openstack/tacker | 39edaa21a63cde7cd33ed26dbeba24cad1e8fb88 | 133 | roles/config-enhanced-policy | 266 | [
"permissive"
] | [
{
"path": "roles/config-enhanced-policy/tasks/main.yaml",
"content": "- block:\n - name: Copy policy.yaml\n copy:\n src: \"{{ devstack_base_dir }}/tacker/etc/tacker/enhanced_tacker_policy.yaml.sample\"\n dest: \"/etc/tacker/policy.yaml\"\n remote_src: true\n mode: 0644\n ow... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 330,
"all_permissive": true
} |
ansible_role | openstack/tacker | 39edaa21a63cde7cd33ed26dbeba24cad1e8fb88 | 133 | roles/devstack-config | 266 | [
"permissive"
] | [
{
"path": "roles/devstack-config/tasks/main.yaml",
"content": "- name: Collect devstack stackenv file\n fetch:\n flat: yes\n dest: \"{{ zuul.executor.log_root }}/{{ inventory_hostname }}/confs/devstack/-stackenv\"\n src: \"/opt/stack/devstack/.stackenv\"\n\n- name: Collect devstack config files\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 418,
"all_permissive": true
} |
ansible_role | openstack/tacker | 39edaa21a63cde7cd33ed26dbeba24cad1e8fb88 | 133 | roles/ensure-db-cli-installed | 266 | [
"permissive"
] | [
{
"path": "roles/ensure-db-cli-installed/tasks/mysql.yaml",
"content": "- name: set db cli package name (mysql-community-client)\n set_fact:\n db_cli_package_name: mysql-community-client\n when: ansible_distribution == 'OracleLinux'\n- name: set db cli package name (mariadb-client)\n set_fact:\n db... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1745,
"all_permissive": true
} |
ansible_role | openstack/tacker | 39edaa21a63cde7cd33ed26dbeba24cad1e8fb88 | 133 | roles/modify-heat-policy | 266 | [
"permissive"
] | [
{
"path": "roles/modify-heat-policy/tasks/main.yaml",
"content": "- name: Modify heat flavor policy rule\n become: true\n lineinfile:\n path: /etc/heat/policy.yaml\n regexp: '^\"resource_types:OS::Nova::Flavor\":'\n line: '\"resource_types:OS::Nova::Flavor\": \"role:admin\"'\n mode: 0644\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 290,
"all_permissive": true
} |
ansible_role | openstack/tacker | 39edaa21a63cde7cd33ed26dbeba24cad1e8fb88 | 133 | roles/restart-kubelet-service | 266 | [
"permissive"
] | [
{
"path": "roles/restart-kubelet-service/tasks/main.yaml",
"content": "- block:\n # NOTE: When create a k8s environment with devstack-plugin-container and\n # deploy a Pod, the following error occurred - `network: failed to set bridge\n # addr: \"cni0\" already has an IP address different from 10.x.x.x` ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1491,
"all_permissive": true
} |
ansible_role | openstack/tacker | 39edaa21a63cde7cd33ed26dbeba24cad1e8fb88 | 133 | roles/setup-default-vim | 266 | [
"permissive"
] | [
{
"path": "roles/setup-default-vim/tasks/main.yaml",
"content": "- block:\n - name: Copy tools/test-setup-default-vim.sh\n copy:\n remote_src=True\n src={{ devstack_base_dir }}/tacker/tacker/tests/functional/tools/test-setup-default-vim.sh\n dest={{ zuul_work_dir }}/tools/test-setup-de... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 10150,
"all_permissive": true
} |
ansible_role | openstack/tacker | 39edaa21a63cde7cd33ed26dbeba24cad1e8fb88 | 133 | roles/setup-fake-https-server | 266 | [
"permissive"
] | [
{
"path": "roles/setup-fake-https-server/tasks/main.yaml",
"content": "- block:\n - name: Generate directory for SSL certificate\n file:\n path: \"{{ ssl_dir }}\"\n state: directory\n owner: \"root\"\n group: \"root\"\n mode: \"0755\"\n become: yes\n\n - name: Generate CA ke... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1530,
"all_permissive": true
} |
ansible_role | openstack/tacker | 39edaa21a63cde7cd33ed26dbeba24cad1e8fb88 | 133 | roles/setup-fake-prometheus-server | 266 | [
"permissive"
] | [
{
"path": "roles/setup-fake-prometheus-server/tasks/main.yaml",
"content": "- block:\n - name: Copy tools/test-setup-fake-prometheus-server.sh\n copy:\n remote_src=True\n src={{ devstack_base_dir }}/tacker/tacker/tests/functional/tools/test-setup-fake-prometheus-server.sh\n dest={{ zuu... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1114,
"all_permissive": true
} |
ansible_role | openstack/tacker | 39edaa21a63cde7cd33ed26dbeba24cad1e8fb88 | 133 | roles/setup-helm | 266 | [
"permissive"
] | [
{
"path": "roles/setup-helm/defaults/main.yaml",
"content": "helm_user_home_dir: /home/helm\nhelm_user_password: <PASSWORD>\nhelm_chart_dir: /var/tacker/helm\nvim_name: vim-kubernetes\n",
"license_type": "permissive",
"detected_licenses": [
"Apache-2.0"
],
"size_bytes": 120
},
{
... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 3506,
"all_permissive": true
} |
ansible_role | openstack/tacker | 39edaa21a63cde7cd33ed26dbeba24cad1e8fb88 | 133 | roles/setup-k8s-nodes | 266 | [
"permissive"
] | [
{
"path": "roles/setup-k8s-nodes/tasks/main.yaml",
"content": "- block:\n - name: load kernel module\n modprobe:\n name: \"{{ item }}\"\n state: present\n with_items:\n - overlay\n - br_netfilter\n become: yes\n - name: configure network(iptables/ip_forward) kernel parameter\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 888,
"all_permissive": true
} |
ansible_role | openstack/tacker | 39edaa21a63cde7cd33ed26dbeba24cad1e8fb88 | 133 | roles/setup-k8s-oidc | 266 | [
"permissive"
] | [
{
"path": "roles/setup-k8s-oidc/files/cluster_role_binding.yaml",
"content": "kind: ClusterRoleBinding\napiVersion: rbac.authorization.k8s.io/v1\nmetadata:\n name: oidc-cluster-admin-binding\nroleRef:\n kind: ClusterRole\n name: cluster-admin\n apiGroup: rbac.authorization.k8s.io\nsubjects:\n- kind: Use... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 4955,
"all_permissive": true
} |
ansible_role | openstack/tacker | 39edaa21a63cde7cd33ed26dbeba24cad1e8fb88 | 133 | roles/setup-multi-az | 266 | [
"permissive"
] | [
{
"path": "roles/setup-multi-az/defaults/main.yaml",
"content": "aggregate_name: aggregate-1\nzone_name: az-1\nflavor_name: sample4G\n",
"license_type": "permissive",
"detected_licenses": [
"Apache-2.0"
],
"size_bytes": 66
},
{
"path": "roles/setup-multi-az/tasks/main.yaml",
... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 864,
"all_permissive": true
} |
ansible_role | openstack/tacker | 39edaa21a63cde7cd33ed26dbeba24cad1e8fb88 | 133 | roles/setup-multi-tenant-vim | 266 | [
"permissive"
] | [
{
"path": "roles/setup-multi-tenant-vim/defaults/main.yaml",
"content": "os_username_tenant1: test_user_1\nos_password_tenant1: <PASSWORD>\nos_project_tenant1: test_tenant_1\nos_domain_tenant1: Default\nos_vim_name_tenant1: VIM_TEST\nos_vim_conf_name_tenant1: local-tenant1-vim.yaml\nos_vim_conf_path_tenant1... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 9220,
"all_permissive": true
} |
ansible_role | openstack/tacker | 39edaa21a63cde7cd33ed26dbeba24cad1e8fb88 | 133 | roles/setup-terraform | 266 | [
"permissive"
] | [
{
"path": "roles/setup-terraform/tasks/main.yaml",
"content": "- block:\n - name: Install docker from ubuntu official repository\n package:\n name: docker.io\n state: present\n become: yes\n\n - name: Make the user belong to a Docker group\n user:\n name: stack\n groups: docke... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1447,
"all_permissive": true
} |
ansible_role | openstack/tacker | 39edaa21a63cde7cd33ed26dbeba24cad1e8fb88 | 133 | roles/show-net-setup | 266 | [
"permissive"
] | [
{
"path": "roles/show-net-setup/tasks/main.yaml",
"content": "- name: Print net information\n shell: sudo bash -c \"ip address > {{ devstack_base_dir }}//ipaddress.txt\"\n\n- name: Collect net information\n fetch:\n flat: yes\n dest: \"{{ zuul.executor.log_root }}/{{ inventory_hostname }}/confs/devs... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 616,
"all_permissive": true
} |
ansible_role | ChristopherHines/MyWebsites | db8fecaae3935e645721321c6b85a9ba461bcc1d | 0 | ansible/roles/build | 266 | [
"no_license"
] | [
{
"path": "ansible/roles/build/tasks/main.yml",
"content": "- name: Build web app container\n docker_image:\n name: hines-site\n path: ../hines-site\n tag: latest\n force: yes\n\n- name: Build api container\n docker_image:\n name: flask_api\n path: ../flask\n tag: latest\n force: y... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 238,
"all_permissive": false
} |
ansible_role | ChristopherHines/MyWebsites | db8fecaae3935e645721321c6b85a9ba461bcc1d | 0 | ansible/roles/deploy | 266 | [
"no_license"
] | [
{
"path": "ansible/roles/deploy/tasks/main.yml",
"content": "- name: Start web app container\n docker_container:\n name: hines-site\n image: hines-site\n recreate: yes\n restart_policy: always\n state: started\n ports:\n - \"443:443\"\n\n- name: Start api container\n docker_contai... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 376,
"all_permissive": false
} |
ansible_role | ChristopherHines/MyWebsites | db8fecaae3935e645721321c6b85a9ba461bcc1d | 0 | ansible/roles/teardown | 266 | [
"no_license"
] | [
{
"path": "ansible/roles/teardown/tasks/main.yml",
"content": "- name: Stop web app container\n docker_container:\n name: hines-site\n state: absent\n\n- name: Stop api container\n docker_container:\n name: flask_api\n state: absent",
"license_type": "no_license",
"detected_licenses": ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 175,
"all_permissive": false
} |
ansible_role | GentlemenBastards/OpenstackSetup | 2f63cc91054b1481e8bb2c2ba9429e89136002ea | 0 | roles/jenkins | 266 | [
"no_license"
] | [
{
"path": "roles/jenkins/tasks/main.yml",
"content": "---\n \n # [DEPRECATION WARNING]: The 'restart' parameter causes instability. Use the\n # 'win_reboot' action conditionally on 'reboot_required' return value instead.\n # This feature will be removed in version 2.6. Deprecation warnings can be\n # d... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1601,
"all_permissive": false
} |
ansible_role | GentlemenBastards/OpenstackSetup | 2f63cc91054b1481e8bb2c2ba9429e89136002ea | 0 | roles/webserver | 266 | [
"no_license"
] | [
{
"path": "roles/webserver/tasks/main.yml",
"content": "---\n \n # [DEPRECATION WARNING]: The 'restart' parameter causes instability. Use the\n # 'win_reboot' action conditionally on 'reboot_required' return value instead.\n # This feature will be removed in version 2.6. Deprecation warnings can be\n #... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 2020,
"all_permissive": false
} |
ansible_role | violettaMi/monitoring_solution | 6a43dc29656d3f233e09341a816b5399b8235cf1 | 0 | roles/grafana | 266 | [
"no_license"
] | [
{
"path": "roles/grafana/tasks/main.yml",
"content": "- name: Add Grafana APT repository\n apt_repository:\n repo: deb https://packages.grafana.com/oss/deb stable main\n state: present\n update_cache: yes\n filename: grafana\n\n- name: Add Grafana GPG key\n command: apt-key adv --keyserver key... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 667,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/agama | 266 | [
"no_license"
] | [
{
"path": "roles/agama/tasks/main.yaml",
"content": "- name: Add Agama directory\n file:\n path: /opt/agama\n state: directory\n\n- name: Download agama\n get_url:\n url: https://raw.githubusercontent.com/hudolejev/agama/master/agama.py\n dest: /opt/agama\n\n- name: Get agama\n #code to conta... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1464,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/backup | 266 | [
"no_license"
] | [
{
"path": "roles/backup/templates/known_hosts.j2",
"content": "{{ backup_server_ip }} {{ backup_server_ssh_key }}\nbackup {{ backup_server_ssh_key }}\nbackup.{{ domain }} {{ backup_server_ssh_key }}",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 133
},
{
"path": "... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1037,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/bind | 266 | [
"no_license"
] | [
{
"path": "roles/bind/templates/db.nexify.it.j2",
"content": "$TTL\t604800\n{{domain}}.\tIN\tSOA\t{{inventory_hostname}}.{{domain}}. mail.{{domain}}. (\n\t\t\t 2\t\t; Serial\n\t\t\t 604800\t\t; Refresh\n\t\t\t 86400\t\t; Retry\n\t\t\t2419200\t\t; Expire\n\t\t\t 604800 )\t; Negative Cache TTL\n;\n{% fo... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 6,
"total_bytes": 4427,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/bind_exporter | 266 | [
"no_license"
] | [
{
"path": "roles/bind_exporter/tasks/main.yaml",
"content": "- name: Install bind9 exporter\n apt:\n name: prometheus-bind-exporter\n\n- name: Start and enable bind9 exporter\n service:\n name: prometheus-bind-exporter\n state: started\n enabled: yes\n",
"license_type": "no_license",
"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 196,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/docker | 266 | [
"no_license"
] | [
{
"path": "roles/docker/tasks/main.yaml",
"content": "- name: Install docker\n apt:\n name:\n - docker.io\n - python3-docker \n#python3-docker package allows ansible to manage Docker resources. Need it for ansible to perform tasks.\n\n- name: Start and enable docker\n service:\n name: doc... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 284,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/grafana | 266 | [
"no_license"
] | [
{
"path": "roles/grafana/templates/influx_telegraf_ds.yaml.j2",
"content": "apiVersion: 1\n\ndatasources:\n - name: InfluxDB-Telegraf\n type: influxdb\n url: http://{{ inventory_hostname }}:8086\n isDefault: False\n database: telegraf",
"license_type": "no_license",
"detected_licenses":... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 7,
"total_bytes": 4177,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/haproxy | 266 | [
"no_license"
] | [
{
"path": "roles/haproxy/tasks/main.yaml",
"content": "- name: Install hapxory\n apt:\n name: haproxy\n\n- name: Configure haproxy\n template:\n src: haproxy.cfg.j2\n dest: /etc/haproxy/haproxy.cfg\n notify:\n - restart haproxy\n\n- name: Start hapxory\n service:\n name: haproxy\n stat... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1296,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/haproxy_exporter | 266 | [
"no_license"
] | [
{
"path": "roles/haproxy_exporter/tasks/main.yaml",
"content": "- name: Install haproxy exporter\n apt:\n name: prometheus-haproxy-exporter\n\n- name: Change haproxy exporter config\n template:\n src: prometheus-haproxy-exporter.j2\n dest: /etc/default/prometheus-haproxy-exporter\n notify:\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 468,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/influxdb | 266 | [
"no_license"
] | [
{
"path": "roles/influxdb/tasks/main.yaml",
"content": "- name: add influxdb gpg key\n apt_key:\n url: https://repos.influxdata.com/influxdb.key\n\n- name: add influxdb rep\n apt_repository:\n repo: deb https://repos.influxdata.com/ubuntu focal stable\n\n- name: Install influxdb\n apt:\n name: i... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 818,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/influxdb_backup | 266 | [
"no_license"
] | [
{
"path": "roles/influxdb_backup/templates/influxdb-backup.j2",
"content": "52,53 17 * * * backup rm -rf /home/backup/influxdb/*; influxd backup -portable -database telegraf /home/backup/influxdb/\n\n53 17 * * * backup duplicity --no-encryption full /home/backup/influxdb/ rsync://{{ github_username }}@backu... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 695,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/influxdb_exporter | 266 | [
"no_license"
] | [
{
"path": "roles/influxdb_exporter/tasks/main.yaml",
"content": "- name: Copy influx exporter binary\n copy:\n src: influx_stats_exporter_linux_amd64\n dest: /usr/local/bin/influx_stats_exporter_linux_amd64\n mode: a+x\n\n- name: Copy influx exporter service file\n copy:\n src: influx_exporter... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 497,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/init | 266 | [
"no_license"
] | [
{
"path": "roles/init/tasks/main.yaml",
"content": "---\n# In this form, APT will update cache on the first run and wont do any futher updates within the next run.\n# If you do apt and update_cache: yes it will update cache on every run and generate unnecessary changes.\n\n- name: Update cache\n apt:\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 354,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/keepalived | 266 | [
"no_license"
] | [
{
"path": "roles/keepalived/tasks/main.yaml",
"content": "- name: Install Keepalived\n apt:\n name: keepalived\n state: present\n\n- name: Copy keepalived conf file\n template:\n src: keepalived.conf.j2\n dest: /etc/keepalived/keepalived.conf\n notify:\n - restart keepalived\n\n- name: Cre... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1778,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/keepalived_exporter | 266 | [
"no_license"
] | [
{
"path": "roles/keepalived_exporter/handlers/main.yaml",
"content": "- name: Reload systemd\n ansible.builtin.systemd:\n name: keepalived_exporter\n state: restarted\n daemon_reload: yes\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 124
},
{
"path": ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 579,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/mysql | 266 | [
"no_license"
] | [
{
"path": "roles/mysql/tasks/main.yaml",
"content": "- name: Install MySQL\n apt:\n name: mysql-server\n\n- name: Install pymysql\n apt:\n name: python3-pymysql\n\n- name: Change MySQL config\n template:\n src: override.cnf\n dest: /etc/mysql/mysql.conf.d/override.cnf\n notify:\n - Restar... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1546,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/mysql_backup | 266 | [
"no_license"
] | [
{
"path": "roles/mysql_backup/tasks/main.yaml",
"content": "- name: Create mysql backup directory\n file:\n path: /home/backup/mysql\n state: directory\n mode: 0755\n owner: backup\n\n- name: MySQL user for backup\n community.mysql.mysql_user:\n name: \"{{ mysql_backup_user }}\"\n passwo... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1086,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/mysql_exporter | 266 | [
"no_license"
] | [
{
"path": "roles/mysql_exporter/tasks/main.yaml",
"content": "- name: Install mysqld exporter\n apt:\n name:\n - prometheus-mysqld-exporter\n\n- name: MySQL user for mysql exporter\n community.mysql.mysql_user:\n name: \"{{ mysql_exporter_user }}\"\n password: \"{{ mysql_exporter_password }}... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 876,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/nginx | 266 | [
"no_license"
] | [
{
"path": "roles/nginx/templates/default.j2",
"content": "server {\n\tlisten 80 default_server;\n\troot /var/www/html;\n\tindex index.html index.html;\n\tserver_name _;\n\tlarge_client_header_buffers 4 16k;\n\terror_page 404 /;\n\n\t{% if inventory_hostname in groups['prometheus'] %}\n\tlocation /prometheus... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1470,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/nginx_exporter | 266 | [
"no_license"
] | [
{
"path": "roles/nginx_exporter/tasks/main.yaml",
"content": "- name: Install nginx exporter\n apt:\n name: prometheus-nginx-exporter\n\n- name: Start and enable nginx exporter\n service:\n name: prometheus-nginx-exporter\n state: started\n enabled: yes\n",
"license_type": "no_license",
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 198,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/node_exporter | 266 | [
"no_license"
] | [
{
"path": "roles/node_exporter/tasks/main.yaml",
"content": "- name: Install node exporter\n apt:\n name: prometheus-node-exporter\n\n- name: Start and enable node exporter\n service:\n name: prometheus-node-exporter\n state: started\n enabled: yes\n",
"license_type": "no_license",
"de... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 194,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/pinger | 266 | [
"no_license"
] | [
{
"path": "roles/pinger/tasks/main.yaml",
"content": "- name: Add user \"pinger\"\n user:\n name: pinger\n\n- name: Install fping\n apt:\n name: fping\n\n- name: Create pinger directory\n file:\n path: /etc/pinger\n state: directory\n mode: 0755\n\n- name: Copy pinger shell file\n copy:\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 1057,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/prometheus | 266 | [
"no_license"
] | [
{
"path": "roles/prometheus/tasks/main.yaml",
"content": "- name: Install prometheus\n apt:\n name: prometheus\n\n- name: Add prometheus ARGS\n ansible.builtin.template:\n src: prometheus\n dest: /etc/default/prometheus\n notify:\n - restart prometheus\n\n- name: Add prometheus yml\n ansible... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1781,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/users | 266 | [
"no_license"
] | [
{
"path": "roles/users/tasks/main.yaml",
"content": "---\n\n- name: Adds Juri\n user: \n name: juri\n\n- name: Get \"Juri\" keys\n ansible.posix.authorized_key:\n user: juri\n key: https://github.com/hudolejev.keys\n\n- name: Adds Roman\n user: \n name: roman\n\n- name: Add \"Roman\" keys\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 326,
"all_permissive": false
} |
ansible_role | hejoes/ica0002---Ansible | 7c81852dac81b7c423645e79326ca2737c17e763 | 0 | roles/uwsgi | 266 | [
"no_license"
] | [
{
"path": "roles/uwsgi/tasks/main.yaml",
"content": "- name: Install uwsgi\n apt:\n name: uwsgi\n\n- name: Install uwsgi-plugin-python3\n apt:\n pkg:\n - uwsgi\n - uwsgi-plugin-python3\n - python3-pymysql\n\n- name: Start and enable the uwsgi service\n service:\n name: uwsgi\n state: ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 396,
"all_permissive": false
} |
ansible_role | kai-railg/ansible_deploy | 306130a3fc705c0211f7c9f62fcfd9bdb3d14172 | 0 | roles/docker | 266 | [
"no_license"
] | [
{
"path": "roles/docker/tasks/main.yml",
"content": "- name: remove docker\n apt: \n name: [\"docker\", \"docker.io\", \"docker-engine\"]\n state: absent\n become: yes\n become_user: root\n become_method: sudo\n\n- name: pre install\n apt: \n name: ['apt-transport-https', 'ca-certificates', 'c... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 923,
"all_permissive": false
} |
ansible_role | kai-railg/ansible_deploy | 306130a3fc705c0211f7c9f62fcfd9bdb3d14172 | 0 | roles/hadoop_cluster_config | 266 | [
"no_license"
] | [
{
"path": "roles/hadoop_cluster_config/tasks/main.yml",
"content": "- name: copy file\n copy: \n src: \"{{ item }}\"\n dest: \"/home/kai/opt/package/hadoop/etc/hadoop\"\n owner: root\n group: root\n mode: 755\n with_items:\n - core-site.xml\n - hadoop-env.sh\n - hdfs-site.xml\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1390,
"all_permissive": false
} |
ansible_role | kai-railg/ansible_deploy | 306130a3fc705c0211f7c9f62fcfd9bdb3d14172 | 0 | roles/hadoop_install | 266 | [
"no_license"
] | [
{
"path": "roles/hadoop_install/tasks/main.yml",
"content": "- name: remove openjdk\n apt: \n name: [\"openjdk*\"]\n state: absent\n\n- name: install openjdk\n apt: \n name: ['openjdk-11-jdk', 'openjdk-11-jdk-headless', 'wget', 'net-tools', 'ntp', 'ntpdate']\n state: present\n\n- name: downloa... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 744,
"all_permissive": false
} |
ansible_role | kai-railg/ansible_deploy | 306130a3fc705c0211f7c9f62fcfd9bdb3d14172 | 0 | roles/hadoop_start | 266 | [
"no_license"
] | [
{
"path": "roles/hadoop_start/tasks/main.yml",
"content": "\n- name: format namenode\n shell: hdfs dfs -format\n\n- name: start dfs\n shell: start-dfs.sh\n\n- name: start yarn\n shell: start-yarn.sh",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 134
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 134,
"all_permissive": false
} |
ansible_role | kai-railg/ansible_deploy | 306130a3fc705c0211f7c9f62fcfd9bdb3d14172 | 0 | roles/hadoop_stop | 266 | [
"no_license"
] | [
{
"path": "roles/hadoop_stop/tasks/main.yml",
"content": "\n- name: start dfs\n shell: stop-dfs.sh\n\n- name: start yarn\n shell: stop-yarn.sh",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 81
},
{
"path": "roles/hadoop_stop/handlers/main.yml",
"content": "-... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 181,
"all_permissive": false
} |
ansible_role | kai-railg/ansible_deploy | 306130a3fc705c0211f7c9f62fcfd9bdb3d14172 | 0 | roles/kubernetes | 266 | [
"no_license"
] | [
{
"path": "roles/kubernetes/tasks/main.yml",
"content": "- name: pre install \n shell: \"{{ item }}\"\n with_items:\n - curl https://mirrors.aliyun.com/kubernetes/apt/doc/apt-key.gpg | apt-key add -\n - echo \"deb https://mirrors.aliyun.com/kubernetes/apt/ kubernetes-xenial main\" > /etc/apt/sources... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1237,
"all_permissive": false
} |
ansible_role | kai-railg/ansible_deploy | 306130a3fc705c0211f7c9f62fcfd9bdb3d14172 | 0 | roles/kubernetes_remove | 266 | [
"no_license"
] | [
{
"path": "roles/kubernetes_remove/tasks/main.yml",
"content": "- name: kube reset \n expect: \n echo: yes\n command: kubeadm reset\n responses:\n (?i)proceed: \"y\"\n timeout: 30\n become: yes\n become_user: root\n become_method: sudo\n \n- name: delete .kube\n file:\n path: \"{{ ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 510,
"all_permissive": false
} |
ansible_role | kai-railg/ansible_deploy | 306130a3fc705c0211f7c9f62fcfd9bdb3d14172 | 0 | roles/set_root_login | 266 | [
"no_license"
] | [
{
"path": "roles/set_root_login/tasks/main.yml",
"content": "\n- name: set env\n shell: sed -i {{ item }} /etc/ssh/sshd_config \n with_items:\n - '/#UseLogin\\ no/c\\UseLogin\\ yes'\n - '/#PermitRootLogin\\ prohibit-password/c\\PermitRootLogin\\ yes'\n become: yes\n become_user: root\n become_met... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 367,
"all_permissive": false
} |
ansible_role | kai-railg/ansible_deploy | 306130a3fc705c0211f7c9f62fcfd9bdb3d14172 | 0 | roles/spark_install | 266 | [
"no_license"
] | [
{
"path": "roles/spark_install/tasks/main.yml",
"content": "- name: download spark-3.0.0\n shell: \"wget http://archive.apache.org/dist/spark/spark-3.0.0/spark-3.0.0-bin-hadoop3.2.tgz\"\n\n- name: create dir\n file: \n path: \"/home/kai/opt/package\"\n state: \"directory\"\n\n- name: tar spark\n sh... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 535,
"all_permissive": false
} |
ansible_role | kai-railg/ansible_deploy | 306130a3fc705c0211f7c9f62fcfd9bdb3d14172 | 0 | roles/spark_yarn | 266 | [
"no_license"
] | [
{
"path": "roles/spark_yarn/tasks/main.yml",
"content": "- name: copy file\n copy: \n src: \"{{ item }}\"\n dest: \"/home/kai/opt/package/spark/conf\"\n owner: root\n group: root\n mode: 755\n with_items:\n - spark-env.sh\n - slaves\n - spark-defaults.conf\n",
"license_type": "... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 212,
"all_permissive": false
} |
ansible_role | plastikat/subelements-bug | 098da1d7a1f282f1d6a3d43dd41b9f941b213ed9 | 0 | roles/test | 266 | [
"no_license"
] | [
{
"path": "roles/test/tasks/main.yml",
"content": "- include_tasks: included_tasks.yml\n loop: \"{{\n users\n | subelements ('hosts')\n }}\"\n\n- debug:\n msg: If you see this, then include_tasks worked\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 154
},
... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 353,
"all_permissive": false
} |
ansible_role | linjianzao/myansible | 8ad1341d3930055b2ea856232b1defec57f33e60 | 0 | roles/centos72.php | 266 | [
"no_license"
] | [
{
"path": "roles/centos72.php/tasks/main.yml",
"content": "---\n- stat: path={{ lang_php_prefix }}/bin/php\n register: lang_php_bin\n\n- include: install.yml\n when: not lang_php_bin.stat.exists\n\n\n- name: Install php extensions\n yum: >-\n name={{ item }}\n state=present\n with_items: '{{ lang_... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1277,
"all_permissive": false
} |
ansible_role | linjianzao/myansible | 8ad1341d3930055b2ea856232b1defec57f33e60 | 0 | roles/mysql | 266 | [
"no_license"
] | [
{
"path": "roles/mysql/tasks/install.yml",
"content": "---\n\n- name: Install mysql\n apt: name={{item}} state=present\n with_items: \n - mysql-server-5.7\n - mysql-client-5.7 \n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 123
},
{
"path": "roles/mysql/t... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 346,
"all_permissive": false
} |
ansible_role | linjianzao/myansible | 8ad1341d3930055b2ea856232b1defec57f33e60 | 0 | roles/nginx | 266 | [
"no_license"
] | [
{
"path": "roles/nginx/tasks/configure.yml",
"content": "---\n\n- name: configure nginx.conf\n template: src=nginx.conf.j2 dest=/etc/nginx/nginx.conf\n\n- name: check /var/www/html/test dir\n stat: \n path: /var/www/html/test\n register: html_test_dir_exists\n\n- name: mkdir /var/www/html/test\n file:... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 1344,
"all_permissive": false
} |
ansible_role | linjianzao/myansible | 8ad1341d3930055b2ea856232b1defec57f33e60 | 0 | roles/php | 266 | [
"no_license"
] | [
{
"path": "roles/php/tasks/main.yml",
"content": "---\n- stat: path={{ lang_php_prefix }}/bin/php{{lang_php_ver}}\n register: lang_php_bin\n\n- include: install.yml\n when: not lang_php_bin.stat.exists\n\n\n- name: Install php extensions\n apt: >-\n name={{ item }}\n state=present\n with_items: '{... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1362,
"all_permissive": false
} |
ansible_role | linjianzao/myansible | 8ad1341d3930055b2ea856232b1defec57f33e60 | 0 | roles/xenial_init | 266 | [
"no_license"
] | [
{
"path": "roles/xenial_init/tasks/main.yml",
"content": "---\n\n- name: set apt sources \n copy: src=sources.list dest=/etc/apt/sources.list\n\n- name: add nginx_signing.key \n apt_key:\n url: http://nginx.org/keys/nginx_signing.key \n state: present\n\n- name: apt-get update cache \n shell: \"... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2793,
"all_permissive": false
} |
ansible_role | DJvictor/Parcial3-Monitorreando-Munin | 9ee1efed0d7c74d4472f52e016a3c9f60eb23d86 | 0 | ansible001/roles/sqlserver | 266 | [
"no_license"
] | [
{
"path": "ansible001/roles/sqlserver/tasks/main.yml",
"content": "---\n- name: install de Mysql\n apt: install Mysql \n# tasks file for sqlserver",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 77
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 77,
"all_permissive": false
} |
ansible_role | DJvictor/Parcial3-Monitorreando-Munin | 9ee1efed0d7c74d4472f52e016a3c9f60eb23d86 | 0 | ansible001/roles/webserver | 266 | [
"no_license"
] | [
{
"path": "ansible001/roles/webserver/tasks/main.yml",
"content": "---\n- name: install de apache2\n apt: install apache2 \n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 56
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 56,
"all_permissive": false
} |
ansible_role | encapsulate-xyz/operational-ansible | c391a0bd3ef93c9e66f215ea3ffbd0b0b2279203 | 0 | roles/systemd_operations | 267 | [
"no_license"
] | [
{
"path": "roles/systemd_operations/tasks/main.yml",
"content": "---\n- name: Reload service\n ansible.builtin.systemd:\n daemon_reload: true\n tags: \n - reload\n\n- name: Start service\n ansible.builtin.systemd:\n name: \"{{ service_identifier }}\"\n state: started\n enabled: true\n tag... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 503,
"all_permissive": false
} |
ansible_role | Kenykore/nibbs | c7aae7ad9b1698434627f48ca5405ff2610cd5ac | 0 | ansible/roles/docker-deploy | 267 | [
"no_license"
] | [
{
"path": "ansible/roles/docker-deploy/tasks/main.yml",
"content": "- name: Add user to docker group\n become: true\n shell: |\n usermod -aG docker $USER\n\n- name: Clean docker file archive\n file:\n state: absent\n path: \"~/{{ APP_NAME }}/\"\n\n- name: Copy docker image tar to deployment VM\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1084,
"all_permissive": false
} |
ansible_role | Kenykore/nibbs | c7aae7ad9b1698434627f48ca5405ff2610cd5ac | 0 | ansible/roles/filebeat | 267 | [
"no_license"
] | [
{
"path": "ansible/roles/filebeat/tasks/main.yml",
"content": "- name: Copy filebeat to deployment VM\n copy:\n src: \"../filebeat-7.6.2-x86_64.rpm\"\n dest: \"~/\"\n force: yes\n\n\n- name: Install filebeat package\n become: true\n yum:\n name: /home/deployer/filebeat-7.6.2-x86_64.rpm\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 549,
"all_permissive": false
} |
ansible_role | Kenykore/nibbs | c7aae7ad9b1698434627f48ca5405ff2610cd5ac | 0 | ansible/roles/system-deps | 267 | [
"no_license"
] | [
{
"path": "ansible/roles/system-deps/tasks/main.yml",
"content": "- name: Install epel-release\n become: yes\n yum: name=epel-release state=present\n\n- name: Install pip\n become: yes\n yum: name=python-pip state=present\n\n- name: install docker\n become: yes\n pip: name=docker-py\n",
"license_t... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 214,
"all_permissive": false
} |
ansible_role | chengxiaogong/Kubernetes | a408e5699c88bee1ab6c010dd6455c5fa3383aa7 | 0 | install_k8s_1.18.6/roles/addons | 267 | [
"no_license"
] | [
{
"path": "install_k8s_1.18.6/roles/addons/tasks/main.yml",
"content": "---\r\n# 安装插件\r\n\r\n- name: 允许Node加入集群\r\n shell: kubectl certificate approve $(kubectl get csr |awk 'NR!=1{print $1}')\r\n ignore_errors: yes\r\n\r\n- name: 分发资源文件yaml到k8s master\r\n copy: src={{ item }} dest={{ tmp_dir }}\r\n wit... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1247,
"all_permissive": false
} |
ansible_role | chengxiaogong/Kubernetes | a408e5699c88bee1ab6c010dd6455c5fa3383aa7 | 0 | install_k8s_1.18.6/roles/docker | 267 | [
"no_license"
] | [
{
"path": "install_k8s_1.18.6/roles/docker/templates/daemon.json.j2",
"content": "{\r\n \"registry-mirrors\": [\"{{ public_mirror_image }}\"],\r\n \"insecure-registries\": [\"{{ private_mirror_image }}\"],\r\n \"log-driver\": \"json-file\",\r\n \"log-opts\": {\r\n \"max-size\": \"100m\"\r\n },\r\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 939,
"all_permissive": false
} |
ansible_role | chengxiaogong/Kubernetes | a408e5699c88bee1ab6c010dd6455c5fa3383aa7 | 0 | install_k8s_1.18.6/roles/etcd | 267 | [
"no_license"
] | [
{
"path": "install_k8s_1.18.6/roles/etcd/templates/etcd.sh.j2",
"content": "ETCDCTL_API=3\r\n\r\n\r\nif [ \"$1\" == \"write-subnet\" ]\r\nthen\r\n {{ etcd_work_dir }}/bin/etcdctl \\\r\n --ca-file={{ etcd_work_dir }}/ssl/ca.pem \\\r\n --cert-file={{ etcd_work_dir }}/ssl/server.pem \\\r\n --key-fi... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 2642,
"all_permissive": false
} |
ansible_role | chengxiaogong/Kubernetes | a408e5699c88bee1ab6c010dd6455c5fa3383aa7 | 0 | install_k8s_1.18.6/roles/inits | 267 | [
"no_license"
] | [
{
"path": "install_k8s_1.18.6/roles/inits/handlers/main.yml",
"content": "---\n- name: 同步系统时间\n shell: ntpdate time.windows.com\n\n- name: 重启crond计划任务服务\n service: name=crond state=restarted\n\n- name: 重启rsyslog服务\n service: name=rsyslog state=restarted\n",
"license_type": "no_license",
"detected... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 1704,
"all_permissive": false
} |
ansible_role | chengxiaogong/Kubernetes | a408e5699c88bee1ab6c010dd6455c5fa3383aa7 | 0 | install_k8s_1.18.6/roles/keys | 267 | [
"no_license"
] | [
{
"path": "install_k8s_1.18.6/roles/keys/tasks/main.yml",
"content": "---\n# 创建密钥对\n\n- name: 检查密钥对是否存在 \n shell: ls /root/.ssh/authorized_keys \n ignore_errors: True\n register: check_result\n\n- name: 创建密钥对\n shell: ssh-keygen -t rsa -f /root/.ssh/id_rsa -P \"\"\n when: check_result is failure\n\n- ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 332,
"all_permissive": false
} |
ansible_role | chengxiaogong/Kubernetes | a408e5699c88bee1ab6c010dd6455c5fa3383aa7 | 0 | install_k8s_1.18.6/roles/master | 267 | [
"no_license"
] | [
{
"path": "install_k8s_1.18.6/roles/master/tasks/main.yml",
"content": "---\r\n# 部署master\r\n\r\n- name: 创建临时目录\r\n file: dest={{ tmp_dir }} state=directory\r\n\r\n- name: 创建工作目录\r\n file: dest={{ k8s_work_dir }}/{{ item }} state=directory\r\n with_items:\r\n - bin\r\n - cfg\r\n - ssl\r\n - l... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2225,
"all_permissive": false
} |
ansible_role | chengxiaogong/Kubernetes | a408e5699c88bee1ab6c010dd6455c5fa3383aa7 | 0 | install_k8s_1.18.6/roles/tls | 267 | [
"no_license"
] | [
{
"path": "install_k8s_1.18.6/roles/tls/templates/k8s/server-csr.json.j2",
"content": "{\n \"CN\": \"kubernetes\",\n \"hosts\": [\n \"10.0.0.1\",\n \"127.0.0.1\",\n \"kubernetes\",\n \"kubernetes.default\",\n \"kubernetes.default.svc\",\n \"kubernetes.default.svc.cluster\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 3682,
"all_permissive": false
} |
ansible_role | corinnac/ansible | d7089f7701dbd6a20a018e4b5a8de22570514590 | 0 | roles/web | 267 | [
"no_license"
] | [
{
"path": "roles/web/tasks/main.yml",
"content": "# roles/webserver/tasks/main.yml\n---\n- name: 1. install Apache\n apt: name=apache2 state=present\n\n- name: 2. install PHP module for Apache\n apt: name={{ item }} update_cache=yes state=latest\n with_items:\n - git\n - libapache2-mod-php\n - p... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 950,
"all_permissive": false
} |
ansible_role | learnwithvikasjha/ansible_demo | b8f6aa3ad1956fa04f0b61f66cca4327d3e601e1 | 0 | practice 08/roles/install-httpd | 267 | [
"no_license"
] | [
{
"path": "practice 08/roles/install-httpd/tasks/main.yml",
"content": "- name: install httpd\n ansible.builtin.package:\n name: httpd\n state: present",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 83
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 83,
"all_permissive": false
} |
ansible_role | learnwithvikasjha/ansible_demo | b8f6aa3ad1956fa04f0b61f66cca4327d3e601e1 | 0 | practice 08/roles/install-telnet | 267 | [
"no_license"
] | [
{
"path": "practice 08/roles/install-telnet/tasks/main.yml",
"content": "- name: install telnet\n ansible.builtin.package:\n name: telnet\n state: present",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 85
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 85,
"all_permissive": false
} |
ansible_role | learnwithvikasjha/ansible_demo | b8f6aa3ad1956fa04f0b61f66cca4327d3e601e1 | 0 | practice 08/roles/install-wget | 267 | [
"no_license"
] | [
{
"path": "practice 08/roles/install-wget/tasks/main.yml",
"content": "- name: install wget\n ansible.builtin.package:\n name: wget\n state: present",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 81
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 81,
"all_permissive": false
} |
ansible_role | husein-golmohammadi/ansible | 686c56efb79f31c840e68f817968bdfbe3dc75dd | 0 | roles/first-Instalation | 267 | [
"no_license"
] | [
{
"path": "roles/first-Instalation/defaults/main.yml",
"content": "---\n\nPKGS_LIST:\n - nload\n - htop\n - iftop\n - net-tools\n - w3m\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 77
},
{
"path": "roles/first-Instalation/tasks/main.yml",
"c... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 240,
"all_permissive": false
} |
ansible_role | husein-golmohammadi/ansible | 686c56efb79f31c840e68f817968bdfbe3dc75dd | 0 | roles/nginx | 267 | [
"no_license"
] | [
{
"path": "roles/nginx/tasks/main.yml",
"content": "---\r\n- name: Ensure Nginx is installed\r\n apt:\r\n name: nginx\r\n state: present\r\n update_cache: yes\r\n\r\n- name: Copy Nginx site configurations\r\n copy:\r\n src: \"{{ item }}\"\r\n dest: /etc/nginx/sites-available/\r\n owner: ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 852,
"all_permissive": false
} |
ansible_role | PrymalInstynct/Create_RHEL8_KS_ISO | 86b303e0736bccdce1330da09e31904e445a917e | 0 | roles/create_rhel8_ks_iso | 267 | [
"no_license"
] | [
{
"path": "roles/create_rhel8_ks_iso/templates/kickstarts/redhat/adm01.ks.j2",
"content": "#version={{ hostvars[groups['workstations'][0]].boot_os }}\n# Use Graphical Install\ngraphical\n\n# System language\nlang en_US.UTF-8\n\n# Keyboard layouts\nkeyboard --vckeymap=us --xlayouts='us'\n\n# System timezone\... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 15,
"total_bytes": 49768,
"all_permissive": false
} |
ansible_role | doshik101/ansible | 41193550b5f2c72a405404e5b19c3ea8ed662d54 | 0 | roles/default_role | 267 | [
"no_license"
] | [
{
"path": "roles/default_role/tasks/main.yml",
"content": "---\n# tasks file for default_role\n- name: default 5 on Ubuntu\n apt:\n name: \"{{ item }}\"\n state: latest\n loop:\n - nmap\n - vim\n - traceroute\n - apache2\n - openvpn\n",
"license_type": "no_license",
"detected_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 184,
"all_permissive": false
} |
ansible_role | doshik101/ansible | 41193550b5f2c72a405404e5b19c3ea8ed662d54 | 0 | roles/dns | 267 | [
"no_license"
] | [
{
"path": "roles/dns/tasks/main.yml",
"content": "---\n# tasks file for dns\n\n- name: add defaul dns (8.8.8.8 1.1.1.1)\n lineinfile: dest=/etc/systemd/resolved.conf regexp='DNS' line='DNS= 8.8.8.8 1.1.1.1'\n\n- name: restarting resolved\n service:\n name: systemd-resolved\n state: restarted\n",
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 242,
"all_permissive": false
} |
ansible_role | doshik101/ansible | 41193550b5f2c72a405404e5b19c3ea8ed662d54 | 0 | roles/elk_docker | 267 | [
"no_license"
] | [
{
"path": "roles/elk_docker/tasks/main.yml",
"content": "---\n# tasks file for elk_docker\n- name: install docker\n apt:\n name: \"{{ item }}\"\n state: latest\n loop:\n - docker\n - docker-compose\n\n- name: copy docker files\n copy:\n src: '/etc/docker_files'\n dest: '/etc'\n\n- name:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 355,
"all_permissive": false
} |
ansible_role | doshik101/ansible | 41193550b5f2c72a405404e5b19c3ea8ed662d54 | 0 | roles/nmap | 267 | [
"no_license"
] | [
{
"path": "roles/nmap/tasks/main.yml",
"content": "---\n# tasks file for nmap\n\n- name: intalling nmap on debian family\n apt:\n name: nmap\n state: latest\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 107
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 107,
"all_permissive": false
} |
ansible_role | 0ta2/ansible-create-docker | 9379b7c18e859f4b22e788435ba91a2e649c822a | 0 | roles/docker_run | 267 | [
"no_license"
] | [
{
"path": "roles/docker_run/vars/main.yml",
"content": "---\n# vars file for ansible-create-docker",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 41
},
{
"path": "roles/docker_run/defaults/main.yml",
"content": "---\ndocker_option:\n - { name: 'db1', ipv4: '1... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 747,
"all_permissive": false
} |
ansible_role | freeduck/my-ansible | e06a0c5baa0a18937166efcddb05e85cbacf820f | 0 | roles/btguard | 270 | [
"no_license"
] | [
{
"path": "roles/btguard/tasks/main.yml",
"content": "- name: Install openvpn\n apt:\n name: openvpn\n update_cache: yes\n cache_valid_time: 3600\n- name: Copy BT Guard config\n copy:\n src: btguard.conf\n dest: /etc/openvpn\n- name: Copy BT Guard CA\n copy:\n src: btguard.ca.crt\n d... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 332,
"all_permissive": false
} |
ansible_role | freeduck/my-ansible | e06a0c5baa0a18937166efcddb05e85cbacf820f | 0 | roles/sickrage | 270 | [
"no_license"
] | [
{
"path": "roles/sickrage/tasks/main.yml",
"content": "- name: Install dependencies\n apt:\n name: \"{{ item }}\"\n update_cache: yes\n cache_valid_time: 3600\n with_items:\n - \"libxslt1-dev\"\n - \"libxslt1.1\"\n - \"libxml2-dev\"\n - \"libxml2\"\n - \"libssl-dev\"\n - \"libff... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 750,
"all_permissive": false
} |
ansible_role | wyvernzora/the-seed | 9bf811c84984234b17d057d3a9490155964e5cda | 0 | roles/coreutils | 270 | [
"no_license"
] | [
{
"path": "roles/coreutils/tasks/main.yml",
"content": "---\n- name: CoreUtils | Copy coreutils.macos.zshrc\n copy:\n src: files/coreutils.macos.zshrc\n dest: \"{{ zsh.dotfile_path }}/coreutils.macos.zshrc\"\n when: ansible_distribution == \"MacOSX\"\n\n- name: CoreUtils | Copy coreutils.zshrc\n co... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 326,
"all_permissive": false
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.