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 | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/cert_bot | 3,778 | [
"no_license"
] | [
{
"path": "roles/cert_bot/tasks/main.yaml",
"content": "---\n- name: Install snapd\n ansible.builtin.include_tasks: \"{{ ansible_facts['distribution'] }}.yml\"\n\n- name: Install some snap-packages\n ansible.builtin.import_tasks: snap-packages.yml\n\n- name: Certbot\n when: do_token != \"None\"\n block:... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 7,
"total_bytes": 5092,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/create_directory | 3,778 | [
"no_license"
] | [
{
"path": "roles/create_directory/tasks/main.yml",
"content": "---\n- name: Create directory\n file:\n path: \"{{ directory_path }}\"\n state: directory\n vars:\n directory_path: /es",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 122
},
{
"path": "roles... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 187,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/destroy-etcd | 3,778 | [
"no_license"
] | [
{
"path": "roles/destroy-etcd/tasks/main.yml",
"content": "- name: Remove certificate directory and its contents\n file:\n path: \"{{ cert_dir }}\"\n state: absent\n ignore_errors: yes\n\n- name: Ensure cfssl binary is removed\n stat:\n path: /usr/local/bin/cfssl\n register: cfssl_installed\n ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2716,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/destroy-k8s | 3,778 | [
"no_license"
] | [
{
"path": "roles/destroy-k8s/tasks/main.yaml",
"content": "---\n- name: \"Copy destroy.sh scipt on the remote hosts\"\n copy:\n src: destroy.sh\n dest: /root/\n mode: 0755\n\n- name: \"Execute the script\"\n command: sh ~/destroy.sh\n register: status\n- debug:\n var: status.stdout_lines\n\n- ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 551,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/docker-installer | 3,778 | [
"no_license"
] | [
{
"path": "roles/docker-installer/README.md",
"content": "docker-installer\n================\n\nResponsible for installing and configuring the correct version of Docker.\n\nThis role does not detect if a version of Docker is already present on the\nsystem, and it does not stop or start Docker.\n\n## Require... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1428,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/etcd_certificates | 3,778 | [
"no_license"
] | [
{
"path": "roles/etcd_certificates/meta/main.yml",
"content": "---\ndependencies:\n - role: githubixx.cfssl\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 44
},
{
"path": "roles/etcd_certificates/files/ca-csr.json",
"content": "{\n \"CN\": \"etcd\",\n \"k... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 6,
"total_bytes": 2737,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/external-etcd | 3,778 | [
"no_license"
] | [
{
"path": "roles/external-etcd/templates/etcd.service-Witout-https.j2",
"content": "[Unit]\nDescription=etcd\n\n[Service]\nType=exec\nExecStart={{ etcd_bin_dir }}/etcd \\\n --name {{ etcd_name }} \\\n --initial-advertise-peer-urls http://{{ ansible_default_ipv4.address }}:2380 \\\n --listen-peer-urls htt... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 6652,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/gatherer_facts_from | 3,778 | [
"no_license"
] | [
{
"path": "roles/gatherer_facts_from/tasks/main.yml",
"content": "---\n- name: Force fact gathering for the k8s-control-plane group\n ansible.builtin.setup:\n delegate_to: \"{{ item }}\"\n delegate_facts: true\n loop: \"{{ role_var }}\"\n # loop: \"{{groups['k8s-control-plane']}}\"\n # tags:\n # - ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 259,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/haproxy02 | 3,778 | [
"no_license"
] | [
{
"path": "roles/haproxy02/defaults/main.yml",
"content": "tls_pem_path: /etc/ssl/certs/cyverse.run.pem\ndomain: cyverse.run\nregsub: '\\.cyverse\\.run$,'\nde: \"de.{{ domain }}\"\nsonora: \"sonora.{{ domain }}\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 144
},
... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 5656,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/hosts-file | 3,778 | [
"no_license"
] | [
{
"path": "roles/hosts-file/tasks/main.yaml",
"content": "---\n# tasks file for hosts-file\n- name: Update /etc/hosts file\n ansible.builtin.blockinfile:\n dest: /etc/hosts\n content: \"{{ lookup('template', 'templates/etc/hosts.j2') }}\"\n state: present\n",
"license_type": "no_license",
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 200,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/iptables-config | 3,778 | [
"no_license"
] | [
{
"path": "roles/iptables-config/tasks/RedHat.yml",
"content": "---\n\n- name: Install iptables-services\n ansible.builtin.yum:\n name:\n - nftables\n - iptables-services\n state: present\n\n- name: Link to old iptables-conf\n ansible.builtin.file:\n src: /etc/iptables/rules.v4\n des... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 2677,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/k8s-controller | 3,778 | [
"no_license"
] | [
{
"path": "roles/k8s-controller/tasks/main.yml",
"content": "---\n- name: Check that the /etc/kubernetes/kubelet.conf exists\n ansible.builtin.stat:\n path: /etc/kubernetes/kubelet.conf\n get_attributes: false\n get_checksum: false\n get_mime: false\n register: kubelet_presence\n\n- name: Get ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2076,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/k8s-controller-haproxy | 3,778 | [
"no_license"
] | [
{
"path": "roles/k8s-controller-haproxy/tasks/main.yml",
"content": "---\n\n- name: Check current Kubernetes controller status\n ansible.builtin.command: kubeadm token list\n register: token_list_result\n # ignore_errors: true\n failed_when: false\n check_mode: false\n changed_when: token_list_result.... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2305,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/k8s-controller-haproxy-etcd | 3,778 | [
"no_license"
] | [
{
"path": "roles/k8s-controller-haproxy-etcd/tasks/main.yml",
"content": "---\n\n- name: Check current Kubernetes controller status\n ansible.builtin.command: kubeadm token list\n register: token_list_result\n failed_when: false\n check_mode: false\n changed_when: token_list_result.rc != 0\n\n# - name:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 2664,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/k8s-worker | 3,778 | [
"no_license"
] | [
{
"path": "roles/k8s-worker/tasks/main.yml",
"content": "---\n- name: Check that the /etc/kubernetes/kubelet.conf exists\n ansible.builtin.stat:\n path: /etc/kubernetes/kubelet.conf\n get_attributes: false\n get_checksum: false\n get_mime: false\n register: kubelet_presence\n\n- name: Get some... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 885,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/kube-apiserver-haproxy-installer | 3,778 | [
"no_license"
] | [
{
"path": "roles/kube-apiserver-haproxy-installer/tasks/Debian.yml",
"content": "---\n\n- name: Update apt-cache\n ansible.builtin.apt:\n # name: \"*\"\n # state: latest\n update_cache: true\n\n- name: Install haproxy and setools for Debian\n ansible.builtin.apt:\n name:\n - haproxy\n ... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 8,
"total_bytes": 6761,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/kubeadm-installer | 3,778 | [
"no_license"
] | [
{
"path": "roles/kubeadm-installer/tasks/RedHat.yml",
"content": "---\n\n- name: SELinux permissive mode\n ansible.posix.selinux:\n policy: targeted\n state: disabled\n # state: permissive\n notify:\n - Reboot and wait\n\n- name: Setup kubernetes yum repo\n ansible.builtin.copy:\n src: kub... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 2587,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/lb-haproxy-installer | 3,778 | [
"no_license"
] | [
{
"path": "roles/lb-haproxy-installer/tasks/main.yaml",
"content": "---\n\n- name: Include tasks only if one of the files exist, otherwise skip the task\n ansible.builtin.include_tasks:\n file: \"{{ item }}\"\n with_first_found:\n - \"{{ ansible_facts['distribution'] }}.yml\"\n - package.yml\n\n-... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 2753,
"all_permissive": false
} |
ansible_role | cyverse-austria/ansible-k8s | 38b88dc3d6edd89cbc3f2b160f9072cb24847711 | 1 | roles/no-autoupdate | 3,778 | [
"no_license"
] | [
{
"path": "roles/no-autoupdate/tasks/main.yml",
"content": "---\n- name: Disable autoupdate\n when: ansible_os_family == \"Debian\"\n block:\n - name: Update system\n ansible.builtin.apt:\n update_cache: true\n name: \"*\"\n state: latest\n\n - name: Disable autoupdate\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1208,
"all_permissive": false
} |
ansible_role | Mohamed198412/udarepoci-cd_project3 | 9d60164004c4450f0f700ba80633a52f0be83780 | 0 | .circleci/ansible/roles/configure-server | 3,778 | [
"no_license"
] | [
{
"path": ".circleci/ansible/roles/configure-server/tasks/main.yml",
"content": "\n- name: \"update apt\"\n # become: true\n apt:\n update_cache: yes\n\n- name: \"upgrade apt packages\"\n # become: true\n apt:\n upgrade: \"yes\"\n\n- name: \"install dependencies.\"\n # become: true\n apt:\n n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 615,
"all_permissive": false
} |
ansible_role | Mohamed198412/udarepoci-cd_project3 | 9d60164004c4450f0f700ba80633a52f0be83780 | 0 | .circleci/ansible/roles/configure_node_exporter | 3,778 | [
"no_license"
] | [
{
"path": ".circleci/ansible/roles/configure_node_exporter/tasks/main.yml",
"content": "- name: \"Download and unzip binary\"\n unarchive:\n src: https://github.com/prometheus/node_exporter/releases/download/v1.3.1/node_exporter-1.3.1.linux-amd64.tar.gz\n dest: /tmp\n remote_src: yes\n\n- name: \"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 635,
"all_permissive": false
} |
ansible_role | Mohamed198412/udarepoci-cd_project3 | 9d60164004c4450f0f700ba80633a52f0be83780 | 0 | .circleci/ansible/roles/deploy | 3,778 | [
"no_license"
] | [
{
"path": ".circleci/ansible/roles/deploy/tasks/main.yml",
"content": "---\n \n - name: Copy files\n become: true\n unarchive:\n src: artifact.tar.gz\n dest: /home/ubuntu/\n\n\n - name: add paramitar app\n shell: |\n cd /home/ubuntu/dist \n export TYPEORM_HOST=udacity-db... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 3975,
"all_permissive": false
} |
ansible_role | Mohamed198412/udarepoci-cd_project3 | 9d60164004c4450f0f700ba80633a52f0be83780 | 0 | .circleci/ansible/roles/deploy_backend | 3,778 | [
"no_license"
] | [
{
"path": ".circleci/ansible/roles/deploy_backend/tasks/main.yml",
"content": "---\n- name: \"Creates backend app directory\"\n file:\n path: ~/backend_app\n state: directory\n\n- name: \"Copy compiled backend app\"\n copy:\n src: dist.zip\n dest: \"~/backend_app/dist.zip\"\n\n- name: \"Unzip ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 411,
"all_permissive": false
} |
ansible_role | Mohamed198412/udarepoci-cd_project3 | 9d60164004c4450f0f700ba80633a52f0be83780 | 0 | .circleci/ansible/roles/setup | 3,778 | [
"no_license"
] | [
{
"path": ".circleci/ansible/roles/setup/tasks/main.yml",
"content": "- name: \"add node.js from nodesource\"\n become: true\n shell: |\n curl -fsSL https://deb.nodesource.com/setup_14.x | sudo -E bash - && sudo apt-get install -y nodejs\n\n- name: \"install node.js 14\"\n become: true\n apt: \n na... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 358,
"all_permissive": false
} |
ansible_role | Piethan/ilias-corona-client | f25645470937221b97ab186a7b668f4b790565bf | 0 | roles/web-apache | 3,778 | [
"no_license"
] | [
{
"path": "roles/web-apache/handlers/main.yml",
"content": "- name: start apache2\n service: name=apache2 state=started\n- name: restart apache2\n service: name=apache2 state=restarted\n- name: restart mysql\n service: name=mysql state=restarted\n",
"license_type": "no_license",
"detected_license... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 6,
"total_bytes": 2480,
"all_permissive": false
} |
ansible_role | Piethan/ilias-corona-client | f25645470937221b97ab186a7b668f4b790565bf | 0 | roles/web-ilias | 3,778 | [
"no_license"
] | [
{
"path": "roles/web-ilias/tasks/main.yml",
"content": "- stat: path={{ ilias.destination}}\n register: gitdone\n\n- debug:\n msg: \"/var/www/html/ilias exists\"\n when: gitdone.stat.exists\n\n- debug:\n msg: \"/var/www/html/ilias not exists\"\n when: gitdone.stat.exists == false\n\n- include_tasks: ... | {
"task_files": 5,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 2706,
"all_permissive": false
} |
ansible_role | Piethan/ilias-corona-client | f25645470937221b97ab186a7b668f4b790565bf | 0 | roles/web-ssh-users | 3,778 | [
"no_license"
] | [
{
"path": "roles/web-ssh-users/templates/groups_sudoers.d.j2",
"content": "# {{ ansible_managed }}\n%{{ item.name }} ALL = {% if item.sudoers_runas %}({{ item.sudoers_runas }}){% endif %} NOPASSWD:SETENV: {{ item.sudoers_command }}\n",
"license_type": "no_license",
"detected_licenses": [],
"size... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 7,
"total_bytes": 2875,
"all_permissive": false
} |
ansible_role | Piethan/ilias-corona-client | f25645470937221b97ab186a7b668f4b790565bf | 0 | roles/web-sshd | 3,778 | [
"no_license"
] | [
{
"path": "roles/web-sshd/tasks/users.yml",
"content": "---\n\n# Tasks file for Users creation\n\n- name: Create Users\n user:\n name={{ item.key }}\n state={{ item.value.state }}\n shell={{ item.value.shell }}\n update_password=on_create\n expires={{ item.value.expires }}\n with_dict: \"{{... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1418,
"all_permissive": false
} |
ansible_role | Piethan/ilias-corona-client | f25645470937221b97ab186a7b668f4b790565bf | 0 | roles/web-ufw | 3,778 | [
"no_license"
] | [
{
"path": "roles/web-ufw/tasks/fwrules.yml",
"content": "- name: Allow everything and enable UFW\n ufw:\n state: enabled\n policy: allow\n\n- name: Set logging\n ufw:\n logging: 'on'\n\n# Sometimes it is desirable to let the sender know when traffic is\n# being denied, rather than simply ignoring... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1539,
"all_permissive": false
} |
ansible_role | DJTJ21/ANSIBLE-ELK-STACK | cbc86955f7b06ed9aaf5a9d2a1cbec0c3cb48136 | 0 | roles/grafana | 3,778 | [
"no_license"
] | [
{
"path": "roles/grafana/defaults/main.yml",
"content": "---\n# defaults file for grafana\n\ngrafana_admin_user: \"romuald\"\ngrafana_admin_password: \"<PASSWORD>\"\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 101
},
{
"path": "roles/grafana/tasks/main.yml",... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 3111,
"all_permissive": false
} |
ansible_role | DJTJ21/ANSIBLE-ELK-STACK | cbc86955f7b06ed9aaf5a9d2a1cbec0c3cb48136 | 0 | roles/kibana | 3,778 | [
"no_license"
] | [
{
"path": "roles/kibana/tasks/main.yml",
"content": "- name: Ensure required packages are installed for apt (Debian/Ubuntu) or yum (Red Hat/CentOS)\n block:\n - name: Install apt-transport-https (Ubuntu/Debian)\n apt:\n name: apt-transport-https\n state: present\n update_cache:... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 2786,
"all_permissive": false
} |
ansible_role | DJTJ21/ANSIBLE-ELK-STACK | cbc86955f7b06ed9aaf5a9d2a1cbec0c3cb48136 | 0 | roles/logstash | 3,778 | [
"no_license"
] | [
{
"path": "roles/logstash/tasks/main.yml",
"content": "- name: Ensure required packages are installed for apt (Debian/Ubuntu) or yum (Red Hat/CentOS)\n block:\n - name: ensure apt-transport-https is installed (Debian/Ubuntu)\n apt:\n name: apt-transport-https\n state: present\n ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2661,
"all_permissive": false
} |
ansible_role | DJTJ21/ANSIBLE-ELK-STACK | cbc86955f7b06ed9aaf5a9d2a1cbec0c3cb48136 | 0 | roles/promotheus | 3,778 | [
"no_license"
] | [
{
"path": "roles/promotheus/tasks/main.yml",
"content": "- name: Update and install Prometheus on Debian/Ubuntu\n apt:\n name: prometheus\n state: latest\n update_cache: yes\n cache_valid_time: 3600\n when: ansible_os_family == \"Debian\"\n\n- name: Update and install Prometheus on RedHat/Cent... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 949,
"all_permissive": false
} |
ansible_role | brahhms/elBigBang | cab6acc8698ed83f2cd2b5abdd449cf7e04b4655 | 0 | drupal_setup/roles/drupal | 3,778 | [
"no_license"
] | [
{
"path": "drupal_setup/roles/drupal/tasks/main.yml",
"content": "---\n\n- name: Instalar git\n apt: name=git state=latest\n\n- name: Clonar repositorio Drupal\n git: >\n repo=https://github.com/brahhms/drupal.git\n dest=/var/www/html/drupal\n update=no\n\n- name: Crear settings.php\n command: c... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 866,
"all_permissive": false
} |
ansible_role | brahhms/elBigBang | cab6acc8698ed83f2cd2b5abdd449cf7e04b4655 | 0 | drupal_setup/roles/mysql | 3,778 | [
"no_license"
] | [
{
"path": "drupal_setup/roles/mysql/tasks/setup.yml",
"content": "---\n\n- name: Instalar MySQL server\n apt: name=mysql-server state=latest\n\n- name: Instalar modulo MySQL para PHP\n apt: name=php5-mysql state=latest\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 14... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 476,
"all_permissive": false
} |
ansible_role | brahhms/elBigBang | cab6acc8698ed83f2cd2b5abdd449cf7e04b4655 | 0 | drupal_setup/roles/php | 3,778 | [
"no_license"
] | [
{
"path": "drupal_setup/roles/php/tasks/main.yml",
"content": "---\n\n- name: Instalar PHP\n apt: name=php5 state=latest\n\n- name: Instalar Apache2\n apt: name=apache2 state=latest\n\n- name: Instalar php5-curl \n apt: name=php5-curl state=latest\n\n- name: Instalar php5-intl\n apt: name=php5-intl st... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 723,
"all_permissive": false
} |
ansible_role | h3mmy/bloopySphere | 4cd0e04c4e145fcc9f7eb63e70e500cdb09ff48c | 62 | provision/ansible/kubernetes/roles/k3s.kubernetes | 3,778 | [
"no_license"
] | [
{
"path": "provision/ansible/kubernetes/roles/k3s.kubernetes/defaults/main.yml",
"content": "---\nk3s_etcd_s3: true\nk3s_etcd_s3_insecure: false\nk3s_etcd_snapshot_schedule_cron: 0 0 * * 0\nk3s_etcd_snapshot_retention: 5\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 12... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 5330,
"all_permissive": false
} |
ansible_role | h3mmy/bloopySphere | 4cd0e04c4e145fcc9f7eb63e70e500cdb09ff48c | 62 | provision/ansible/kubernetes/roles/os.kubernetes | 3,778 | [
"no_license"
] | [
{
"path": "provision/ansible/kubernetes/roles/os.kubernetes/handlers/network.yml",
"content": "---\n- name: Reload Kubernetes network configuration\n ansible.builtin.shell: sysctl -p /etc/sysctl.d/99-kubernetes-cri.conf\n when:\n - sysctl_network.changed\n - bridge_nf_call_iptables_result.stat.exist... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 2573,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/chrome | 3,778 | [
"no_license"
] | [
{
"path": "roles/chrome/defaults/main.yml",
"content": "---\ngoogle_signing_key_url: https://dl.google.com/linux/linux_signing_key.pub\nchrome_rpm_url: >\n https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm\n",
"license_type": "no_license",
"detected_licenses": [],
"size... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 409,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/cloud | 3,778 | [
"no_license"
] | [
{
"path": "roles/cloud/defaults/main.yml",
"content": "---\ngcloud_sdk_pkgs:\n - google-cloud-sdk\ngcloud_rpm_keys:\n - https://packages.cloud.google.com/yum/doc/yum-key.gpg\n - https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg\n\ndoctl_download_url: https://github.com/digitalocean/doctl/rele... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1145,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/development | 3,778 | [
"no_license"
] | [
{
"path": "roles/development/defaults/main.yml",
"content": "---\nrpmfusion_free_url: https://download1.rpmfusion.org/free/fedora\nrpmfusion_free_rpm: \"rpmfusion-free-release-{{ fedora_version }}.noarch.rpm\"\nrpmfusion_free_rpm_url: \"{{ rpmfusion_free_url }}/{{ rpmfusion_free_rpm }}\"\n\nvirtualbox_packa... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1891,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/dotfiles | 3,778 | [
"no_license"
] | [
{
"path": "roles/dotfiles/tasks/main.yml",
"content": "---\n- name: Clone dotfiles repository\n git:\n repo: \"{{ dotfiles_repo }}\"\n dest: \"{{ dotfiles_path }}\"\n accept_hostkey: true\n key_file: \"{{ home }}/.ssh/id_rsa\"\n\n- name: Set ownerships and permissions\n file:\n path: \"{{ d... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 488,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/firewall | 3,778 | [
"no_license"
] | [
{
"path": "roles/firewall/tasks/main.yml",
"content": "---\n- name: Start and enable firewalld\n become: true\n systemd:\n name: firewalld\n enabled: true\n state: started\n\n- name: Install python bindings for firewalld\n become: true\n dnf:\n name: python3-firewall\n state: present\n\n-... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 408,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/flathub | 3,778 | [
"no_license"
] | [
{
"path": "roles/flathub/defaults/main.yml",
"content": "---\nflathub_repo_url: https://flathub.org/repo/flathub.flatpakrepo\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 67
},
{
"path": "roles/flathub/tasks/main.yml",
"content": "---\n- name: Enable Flathu... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 511,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/git | 3,778 | [
"no_license"
] | [
{
"path": "roles/git/tasks/main.yml",
"content": "---\n- name: Install git\n become: true\n dnf:\n name: git\n state: present\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 79
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 79,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/github | 3,778 | [
"no_license"
] | [
{
"path": "roles/github/defaults/main.yml",
"content": "---\nENABLE_GITHUB: true\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 24
},
{
"path": "roles/github/tasks/main.yml",
"content": "---\n- name: Read SSH public key to authorize\n shell: cat \"{{ home }... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 323,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/gnome | 3,778 | [
"no_license"
] | [
{
"path": "roles/gnome/tasks/main.yml",
"content": "---\n- name: Install python-psutil\n become: true\n dnf:\n name: python3-psutil\n state: present\n\n- name: Copy user dirs file\n copy:\n src: userdirs\n dest: \"{{ home }}/.config/user-dirs.dirs\"\n\n- name: Create userdirs directory\n fil... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 4244,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/gpg | 3,778 | [
"no_license"
] | [
{
"path": "roles/gpg/tasks/main.yml",
"content": "---\n- name: Create gnupg home\n file:\n path: \"{{ gnupg_home }}\"\n state: directory\n mode: 0700\n\n- name: Copy config\n copy:\n src: gpg.conf\n dest: \"{{ gnupg_home }}/gpg.conf\"\n\n- name: Copy public keys\n copy:\n src: \"{{ item... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 539,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/ledger | 3,778 | [
"no_license"
] | [
{
"path": "roles/ledger/tasks/main.yml",
"content": "---\n- name: Install ledger and dependencies\n become: true\n dnf:\n name: \"{{ ledger_pkgs }}\"\n state: present\n\n- name: Clone ledger repo\n git:\n repo: \"{{ ledger_repo }}\"\n dest: \"{{ ledger_path }}\"\n accept_hostkey: true\n",
... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 367,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/mutt | 3,778 | [
"no_license"
] | [
{
"path": "roles/mutt/defaults/main.yml",
"content": "---\nmuttrc_repo: <EMAIL>:egegunes/mutt.git\nmuttrc_path: \"{{ home }}/.mutt\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 75
},
{
"path": "roles/mutt/tasks/main.yml",
"content": "---\n- name: Clone mu... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 332,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/org | 3,778 | [
"no_license"
] | [
{
"path": "roles/org/defaults/main.yml",
"content": "---\ndependencies:\n - remind\norg_repo: <EMAIL>:egegunes/org.git\norg_path: \"{{ home }}/org\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 91
},
{
"path": "roles/org/tasks/main.yml",
"content": "---\n... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 306,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/pass | 3,778 | [
"no_license"
] | [
{
"path": "roles/pass/tasks/main.yml",
"content": "---\n- name: Install pass\n become: true\n dnf:\n name: pass\n state: present\n\n- name: Clone passwords\n git:\n repo: \"{{ passwords_repo }}\"\n dest: \"{{ passwords_path }}\"\n accept_hostkey: true\n",
"license_type": "no_license",
... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 300,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/selinux | 3,778 | [
"no_license"
] | [
{
"path": "roles/selinux/tasks/main.yml",
"content": "---\n- name: Make sure selinux is enabled\n become: true\n selinux:\n policy: targeted\n state: enforcing\n\n- name: Install libselinux-python\n become: true\n dnf:\n name: libselinux-python\n state: present\n",
"license_type": "no_li... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 213,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/ssh | 3,778 | [
"no_license"
] | [
{
"path": "roles/ssh/tasks/main.yml",
"content": "---\n- name: Create SSH directory\n file:\n path: \"{{ home }}/.ssh\"\n state: directory\n owner: \"{{ user }}\"\n group: \"{{ group }}\"\n mode: 0700\n\n- name: Generate SSH key pair\n command: >\n ssh-keygen -q\n -t rsa\n -f \... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 584,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/sshconfig | 3,778 | [
"no_license"
] | [
{
"path": "roles/sshconfig/tasks/main.yml",
"content": "---\n- name: Check sshconfig repo exists\n stat:\n path: \"{{ home }}/.ssh/.git\"\n register: sshconfig\n\n- name: Clone ssh config\n git:\n repo: \"{{ sshconfig_repo }}\"\n dest: \"{{ sshconfig_path }}\"\n accept_hostkey: true\n when: ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 919,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/sshd | 3,778 | [
"no_license"
] | [
{
"path": "roles/sshd/tasks/main.yml",
"content": "---\n- name: Enable sshd\n become: true\n systemd:\n name: sshd\n enabled: true\n state: started\n\n- name: Authorize keys\n authorized_key:\n user: \"{{ user }}\"\n state: present\n key: \"{{ item }}\"\n with_file:\n - personal.pub... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 287,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/sudoers | 3,778 | [
"no_license"
] | [
{
"path": "roles/sudoers/tasks/main.yml",
"content": "---\n- name: Make sure we have a 'wheel' group\n group:\n name: wheel\n state: present\n\n- name: Make sure user is in 'wheel' group\n user:\n name: \"{{ user }}\"\n groups: wheel\n append: true\n\n- name: Allow 'wheel' group to have pas... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 419,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/tlp | 3,778 | [
"no_license"
] | [
{
"path": "roles/tlp/tasks/main.yml",
"content": "---\n- name: Install tlp\n become: true\n dnf:\n name: \"{{ tlp_pkgs }}\"\n state: present\n\n- name: Start tlp\n become: true\n service:\n name: tlp\n state: started\n\n- name: Enable tlp\n become: true\n service:\n name: tlp\n enabl... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 270,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/tmux | 3,778 | [
"no_license"
] | [
{
"path": "roles/tmux/tasks/main.yml",
"content": "---\n- name: Install tmux\n become: true\n dnf:\n name: tmux\n state: present\n\n- name: Copy tmux config\n file:\n src: \"{{ home }}/.dotfiles/tmux/tmux.conf\"\n dest: \"{{ home }}/.tmux.conf\"\n state: link\n",
"license_type": "no_li... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 212,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/vim | 3,778 | [
"no_license"
] | [
{
"path": "roles/vim/tasks/main.yml",
"content": "---\n- name: Install vim\n become: true\n dnf:\n name: vim\n state: present\n\n- name: Install Vundle\n git:\n repo: https://github.com/VundleVim/Vundle.vim.git\n dest: \"{{ home }}/.vim/bundle/Vundle.vim\"\n\n- name: Install plugins\n comman... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 346,
"all_permissive": false
} |
ansible_role | egegunes/gimme-fedora | fe98a2d6418aff851c3d70d18d33e1f788b44297 | 3 | roles/yubikey | 3,778 | [
"no_license"
] | [
{
"path": "roles/yubikey/tasks/main.yml",
"content": "---\n- name: Install dependencies\n become: true\n dnf:\n name: \"{{ dependencies }}\"\n state: present\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 105
},
{
"path": "roles/yubikey/defaults/main.yml... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 147,
"all_permissive": false
} |
ansible_role | mejnertz/ansible-mydesktop | 2ecc1f1b7ae23d2a47dda9b56d7012df4ed4836a | 0 | roles/bash | 3,778 | [
"no_license"
] | [
{
"path": "roles/bash/tasks/main.yml",
"content": "---\n- name: Require Debian\n fail:\n msg: \"Role does not support this os\"\n when: ansible_os_family != 'Debian'\n\n- name: Install dependencies\n become: true\n ansible.builtin.apt:\n name: \"{{ packages }}\"\n state: latest\n vars:\n pa... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 867,
"all_permissive": false
} |
ansible_role | mejnertz/ansible-mydesktop | 2ecc1f1b7ae23d2a47dda9b56d7012df4ed4836a | 0 | roles/vim | 3,778 | [
"no_license"
] | [
{
"path": "roles/vim/tasks/main.yml",
"content": "---\n- name: Require Debian\n fail:\n msg: \"Role \\\"{{ ansible_role_name }}\\\" only supports Debian\"\n when: ansible_os_family != 'Debian'\n\n- name: Install dependencies\n become: true\n ansible.builtin.apt:\n name: \"{{ packages }}\"\n sta... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 990,
"all_permissive": false
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | cloud/aws-ansible/roles/aws | 3,778 | [
"permissive"
] | [
{
"path": "cloud/aws-ansible/roles/aws/tasks/main.yml",
"content": "---\n\n# all cluster use a single vpc\n- name: vpc setup\n ec2_vpc:\n state: present\n cidr_block: 192.168.127.12/16\n resource_tags:\n Name: pingcap-vpc-ansible\n ManagedBy: tidb-ansible\n Creator: ansible-auto\n ... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 14632,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/alertmanager | 3,778 | [
"permissive"
] | [
{
"path": "roles/alertmanager/tasks/systemd_deployment.yml",
"content": "---\n\n- name: deploy systemd\n include_role:\n name: systemd\n vars:\n this_role_name: alertmanager\n service_name: alertmanager-{{ alertmanager_port }}\n",
"license_type": "permissive",
"detected_licenses": [
... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 2118,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/blackbox_exporter | 3,778 | [
"permissive"
] | [
{
"path": "roles/blackbox_exporter/tasks/supervise_deployment.yml",
"content": "---\n\n- name: deploy supervise\n include_role:\n name: supervise\n vars:\n this_role_name: blackbox_exporter\n service_name: blackbox_exporter-{{ blackbox_exporter_port }}\n",
"license_type": "permissive",
"d... | {
"task_files": 5,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 2527,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/bootstrap | 3,778 | [
"permissive"
] | [
{
"path": "roles/bootstrap/tasks/main.yml",
"content": "---\n# bootstrap a machine and begin deployment\n\n- name: gather facts\n setup:\n gather_timeout: 30\n\n- name: group hosts by distribution\n group_by: key=\"{{ ansible_distribution }}-{{ ansible_distribution_version }}\"\n changed_when: false\n... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 4288,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/check_config_dynamic | 3,778 | [
"permissive"
] | [
{
"path": "roles/check_config_dynamic/tasks/main.yml",
"content": "---\n\n- name: Set enable_binlog variable\n set_fact:\n enable_binlog: true\n when: \"enable_binlog in ['true', 'True', 'yes']\"\n\n- name: Set deploy_dir if not set\n set_fact: deploy_dir=\"/home/{{ deploy_user }}/deploy\"\n when: de... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1656,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/check_config_pd | 3,778 | [
"permissive"
] | [
{
"path": "roles/check_config_pd/tasks/main.yml",
"content": "---\n\n- set_fact:\n tidb_check_dir: \"/tmp/tidb_check_config\"\n pd_host: \"{{ hostvars[groups.pd_servers[0]].ansible_host | default(hostvars[groups.pd_servers[0]].inventory_hostname) }}\"\n\n- name: Create temporary check directory\n fil... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2009,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/check_config_static | 3,778 | [
"permissive"
] | [
{
"path": "roles/check_config_static/tasks/main.yml",
"content": "---\n# Common Tasks\n\n- name: Ensure monitoring_servers exists\n fail: msg=\"monitoring_servers should be specified.\"\n when: groups['monitoring_servers'] | length < 1\n\n- name: Ensure monitored_servers exists\n fail: msg=\"monitored_se... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 3253,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/check_config_tidb | 3,778 | [
"permissive"
] | [
{
"path": "roles/check_config_tidb/tasks/main.yml",
"content": "---\n\n- set_fact:\n tidb_check_dir: \"/tmp/tidb_check_config\"\n tidb_host: \"{{ hostvars[groups.tidb_servers[0]].ansible_host | default(hostvars[groups.tidb_servers[0]].inventory_hostname) }}\"\n\n- name: Create temporary check director... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2139,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/check_config_tikv | 3,778 | [
"permissive"
] | [
{
"path": "roles/check_config_tikv/tasks/main.yml",
"content": "---\n\n- set_fact:\n tidb_check_dir: \"/tmp/tidb_check_config\"\n tikv_host: \"{{ hostvars[groups.tikv_servers[0]].ansible_host | default(hostvars[groups.tikv_servers[0]].inventory_hostname) }}\"\n\n- name: Create temporary check director... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2269,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/check_system_dynamic | 3,778 | [
"permissive"
] | [
{
"path": "roles/check_system_dynamic/defaults/main.yml",
"content": "---\n\n# ulimit -n, hard-coded in startup scrips\nmin_open_fds: 1000000\n",
"license_type": "permissive",
"detected_licenses": [
"Apache-2.0"
],
"size_bytes": 69
},
{
"path": "roles/check_system_dynamic/tasks... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2412,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/check_system_optional | 3,778 | [
"permissive"
] | [
{
"path": "roles/check_system_optional/defaults/main.yml",
"content": "---\n\n# CPU\ntidb_min_cpu: 8\ntikv_min_cpu: 8\npd_min_cpu: 4\nmonitor_min_cpu: 4\n\n# Mem\ntidb_min_ram: 16000\ntikv_min_ram: 16000\npd_min_ram: 8000\nmonitor_min_ram: 8000\n\n# Disk\ntidb_min_disk: 500000000000\ntikv_min_disk: 50000000... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 4790,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/check_system_static | 3,778 | [
"permissive"
] | [
{
"path": "roles/check_system_static/tasks/main.yml",
"content": "---\n\n- name: Disk space check - Fail task when disk is full\n shell: df -h . | tail -n1\n register: disk_space_st\n failed_when: \" '100%' in disk_space_st.stdout \"\n changed_when: false\n\n- name: get facts\n setup:\n gather_subse... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 3889,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/clean_log_pd | 3,778 | [
"permissive"
] | [
{
"path": "roles/clean_log_pd/tasks/add_cron.yml",
"content": "---\n\n- name: add crontab\n cron:\n name: \"pd-{{ pd_client_port }}\"\n user: \"{{ ansible_user }}\"\n minute: 0\n state: present\n job: 'find {{ pd_log_dir }} -type f -name \"pd*.log\" -mtime +{{ log_retain_days }} -exec rm -f ... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 368,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/clean_log_tidb | 3,778 | [
"permissive"
] | [
{
"path": "roles/clean_log_tidb/tasks/main.yml",
"content": "---\n\n- include_tasks: add_cron.yml\n when:\n - enable_log_clean|default(false)\n\n- include_tasks: del_cron.yml\n when:\n - not enable_log_clean|default(false)\n\n- name: restart crond\n become: true\n systemd:\n name: crond\n st... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 637,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/clean_log_tikv | 3,778 | [
"permissive"
] | [
{
"path": "roles/clean_log_tikv/tasks/del_cron.yml",
"content": "---\n\n- name: delete crontab if exist\n cron:\n name: \"tikv-{{ tikv_port }}\"\n user: \"{{ ansible_user }}\"\n state: absent\n",
"license_type": "permissive",
"detected_licenses": [
"Apache-2.0"
],
"size_bytes... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 366,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/collect_diagnosis | 3,778 | [
"permissive"
] | [
{
"path": "roles/collect_diagnosis/tasks/main.yml",
"content": "---\n\n- name: uncompress tidb-insight scripts\n unarchive: >\n mode=0755\n dest={{ deploy_dir }}/scripts/\n src={{ downloads_dir }}/tidb-insight.tar.gz\n\n",
"license_type": "permissive",
"detected_licenses": [
"Apache-... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 158,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/collector_host | 3,778 | [
"permissive"
] | [
{
"path": "roles/collector_host/tasks/main.yml",
"content": "---\n\n- set_fact:\n collector_dir: \"{{ hostvars[groups.monitored_servers[0]].deploy_dir }}\"\n service_host: \"{{ ansible_host }}\"\n\n- name: create fetch directory\n delegate_to: localhost\n file: path={{ item }} state=directory mode=0... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2197,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/collector_pd | 3,778 | [
"permissive"
] | [
{
"path": "roles/collector_pd/tasks/main.yml",
"content": "---\n\n- set_fact:\n collector_dir: \"{{ hostvars[groups.monitored_servers[0]].deploy_dir }}\"\n service_host: \"{{ ansible_host }}\"\n\n- name: create pd fetch directory\n delegate_to: localhost\n file: path={{ item }} state=directory mode=... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 2973,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/collector_prometheus | 3,778 | [
"permissive"
] | [
{
"path": "roles/collector_prometheus/tasks/main.yml",
"content": "---\n\n- set_fact:\n collector_dir: \"{{ hostvars[groups.monitored_servers[0]].deploy_dir }}\"\n service_host: \"{{ ansible_host }}\"\n\n- name: create prometheus fetch directory\n delegate_to: localhost\n file: path={{ item }} state... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1672,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/collector_pump | 3,778 | [
"permissive"
] | [
{
"path": "roles/collector_pump/tasks/main.yml",
"content": "---\n\n- set_fact:\n collector_dir: \"{{ hostvars[groups.monitored_servers[0]].deploy_dir }}\"\n service_host: \"{{ ansible_host }}\"\n\n- name: create pump fetch directory\n delegate_to: localhost\n file: path={{ item }} state=directory m... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1925,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/collector_tidb | 3,778 | [
"permissive"
] | [
{
"path": "roles/collector_tidb/tasks/collect_config.yml",
"content": "---\n\n- name: check tidb config path\n set_fact:\n tidb_conf_dir: \"{{ deploy_dir }}/conf\"\n when: tidb_conf_dir is undefined\n\n- name: check tidb config directory\n stat: path={{ tidb_conf_dir }} get_md5=false get_checksum=fals... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 3003,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/collector_tikv | 3,778 | [
"permissive"
] | [
{
"path": "roles/collector_tikv/tasks/collect_config.yml",
"content": "---\n\n- name: check tikv config path\n set_fact:\n tikv_conf_dir: \"{{ deploy_dir }}/conf\"\n when: tikv_conf_dir is undefined\n\n- name: check tikv config directory\n stat: path={{ tikv_conf_dir }} get_md5=false get_checksum=fals... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 2812,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/common_dir | 3,778 | [
"permissive"
] | [
{
"path": "roles/common_dir/tasks/main.yml",
"content": "---\n# Common Tasks\n\n- name: create deploy directories\n file: path={{ item }} state=directory mode=0755\n with_items:\n - \"{{ deploy_dir }}/scripts\"\n - \"{{ deploy_dir }}/conf\"\n - \"{{ backup_dir }}\"\n\n- name: create status direct... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 665,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/dashboard_topo | 3,778 | [
"permissive"
] | [
{
"path": "roles/dashboard_topo/tasks/main.yml",
"content": "---\n\n- name: generate init_dashboard_topo script\n template:\n src: \"init_dashboard_topo.sh.j2\"\n dest: \"{{ playbook_dir }}/scripts/dashboard_topo.sh\"\n mode: \"0755\"\n\n- name: init pd topo\n shell: \"./dashboard_topo.sh\"\n ar... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 2439,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/drainer | 3,778 | [
"permissive"
] | [
{
"path": "roles/drainer/templates/run_drainer_binary.sh.j2",
"content": "#!/bin/bash\nset -e\nulimit -n 1000000\n\nDEPLOY_DIR={{ deploy_dir }}\n\ncd \"${DEPLOY_DIR}\" || exit 1\n\n# WARNING: This file was auto-generated. Do not edit!\n# All your edit might be overwritten!\n{% set my_ip = hostvars[... | {
"task_files": 6,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 9,
"total_bytes": 7714,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/firewalld | 3,778 | [
"permissive"
] | [
{
"path": "roles/firewalld/tasks/main.yml",
"content": "---\n# Tasks to configure firewalld rules\n\n- name: All enabled ports\n debug: var=firewalld_ports\n\n# need root\n- name: determine if firewalld is running\n command: bash -c 'firewall-cmd --state || exit 0'\n register: firewalld_running\n ignore... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 850,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/grafana | 3,778 | [
"permissive"
] | [
{
"path": "roles/grafana/tasks/tasks.yml",
"content": "---\n\n- name: create common deploy directories\n file: path=\"{{ item }}\" state=directory mode=0755\n with_items:\n - \"{{ grafana_log_dir }}\"\n - \"{{ grafana_data_dir }}\"\n\n- name: push data source file\n template: src=data_source.json.j2 de... | {
"task_files": 4,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 6,
"total_bytes": 4027,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/kafka_exporter | 3,778 | [
"permissive"
] | [
{
"path": "roles/kafka_exporter/templates/run_kafka_exporter_binary.sh.j2",
"content": "#!/bin/bash\nset -e\nulimit -n 1000000\n\nDEPLOY_DIR={{ deploy_dir }}\ncd \"${DEPLOY_DIR}\" || exit 1\n\n# WARNING: This file was auto-generated. Do not edit!\n# All your edit might be overwritten!\n\nexec > >(t... | {
"task_files": 4,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 6,
"total_bytes": 1870,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/local | 3,778 | [
"permissive"
] | [
{
"path": "roles/local/templates/docker_packages.yml.j2",
"content": "---\n\ntidb_images:\n - name: pingcap/tidb\n tag: {{ tidb_version }}\n service: tidb\n - name: pingcap/tikv\n tag: {{ tidb_version }}\n service: tikv\n - name: pingcap/pd\n tag: {{ tidb_version }}\n service: pd\n - n... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 6,
"total_bytes": 19828,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/machine_benchmark | 3,778 | [
"permissive"
] | [
{
"path": "roles/machine_benchmark/tasks/fio_randread_write_latency.yml",
"content": "---\n\n- name: fio mixed randread and sequential write benchmark for latency on tikv_data_dir disk\n shell: \"cd {{ fio_deploy_dir }} && ./fio -ioengine=psync -bs=32k -fdatasync=1 -thread -rw=randrw -percentage_random=100... | {
"task_files": 4,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 8040,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/node_exporter | 3,778 | [
"permissive"
] | [
{
"path": "roles/node_exporter/tasks/binary_deployment.yml",
"content": "---\n\n- name: create deploy directories\n file: path={{ item }} state=directory mode=0755\n with_items:\n - \"{{ node_exporter_log_dir }}\"\n\n- name: deploy node_exporter binary\n copy: src=\"{{ resources_dir }}/bin/node_exporter... | {
"task_files": 5,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 1875,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/ops | 3,778 | [
"permissive"
] | [
{
"path": "roles/ops/tasks/main.yml",
"content": "---\n- name: create check_tikv.sh script\n template:\n src: \"check_tikv.sh.j2\"\n dest: \"{{ playbook_dir }}/scripts/check_tikv.sh\"\n mode: \"0755\"\n\n- name: create pd-ctl.sh script\n template:\n src: \"pd-ctl.sh.j2\"\n dest: \"{{ playbo... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 701,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/pd | 3,778 | [
"permissive"
] | [
{
"path": "roles/pd/tasks/docker_deployment.yml",
"content": "---\n\n- name: create log directory\n file: path=\"{{ item }}\" state=directory mode=0755\n with_items:\n - \"{{ pd_docker_log_dir }}\"\n\n- name: deploy pd image\n copy: src=\"{{ downloads_dir }}/pd.tar\" dest=\"{{ deploy_dir }}/images\" mod... | {
"task_files": 7,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 11,
"total_bytes": 12191,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/perf_tools | 3,778 | [
"permissive"
] | [
{
"path": "roles/perf_tools/tasks/main.yml",
"content": "---\n# tasks file for perf-tools\n\n- name: Deploy iosnoop and funcslower\n copy:\n src: \"{{ playbook_dir }}/scripts/{{ item }}\"\n dest: \"{{ deploy_dir }}/scripts/\"\n mode: 0755\n backup: yes\n with_items:\n - iosnoop\n - funcs... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 242,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/pre-ansible | 3,778 | [
"permissive"
] | [
{
"path": "roles/pre-ansible/tasks/root_tasks.yml",
"content": "---\n\n- name: Debian/Ubuntu - install python\n shell: sudo apt-get -y install python\n when:\n - \"'Ubuntu' in distro or 'Debian' in distro\"\n - \"not has_python\"\n\n- name: Redhat/CentOS - install python\n shell: sudo yum -y instal... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 4973,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/prometheus | 3,778 | [
"permissive"
] | [
{
"path": "roles/prometheus/defaults/main.yml",
"content": "---\n\n# default configuration for prometheus\n\nprometheus_data_dir: \"{{ deploy_dir }}/prometheus2.0.0.data.metrics\"\n\n# How long to retain samples in the storage\nprometheus_storage_retention: \"30d\"\n\nprometheus_log_level: info\nprometheus_... | {
"task_files": 5,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 14,
"total_bytes": 40905,
"all_permissive": true
} |
ansible_role | pingcap/tidb-ansible | 61f5ec376c82381107a2b1e6e1eade09d8ca39a2 | 327 | roles/pump | 3,778 | [
"permissive"
] | [
{
"path": "roles/pump/templates/run_pump_docker.sh.j2",
"content": "#!/bin/bash\nset -e\nulimit -n 1000000\n\nDEPLOY_DIR={{ deploy_dir }}\n\ncd \"${DEPLOY_DIR}\" || exit 1\n\n# WARNING: This file was auto-generated. Do not edit!\n# All your edit might be overwritten!\n{% set my_ip = hostvars[invent... | {
"task_files": 7,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 11,
"total_bytes": 9438,
"all_permissive": true
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.