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 | vladyurik/Final-project-TMS-school | 822c313285960c4a7c7517b6b1f325700f8a6375 | 0 | roles/grafana | 7,711 | [
"no_license"
] | [
{
"path": "roles/grafana/tasks/main.yaml",
"content": "---\n# tasks file for grafana\n# roles/grafana/tasks/main.yml\n- name: Create directories\n file:\n path: \"/data/grafana/{{ item }}\"\n state: directory\n loop:\n - configs\n - data\n\n- name: Create directories for provisioning\n file:\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1528,
"all_permissive": false
} |
ansible_role | vladyurik/Final-project-TMS-school | 822c313285960c4a7c7517b6b1f325700f8a6375 | 0 | roles/prometheus | 7,711 | [
"no_license"
] | [
{
"path": "roles/prometheus/templates/prometheus.yml.j2",
"content": "global:\n scrape_interval: 15s\n\nalerting:\n alertmanagers:\n - static_configs:\n - targets: ['alertmanager:9093']\n\nrule_files:\n - \"alert.rules.yml\"\n\nscrape_configs:\n - job_name: 'node'\n static_configs:\n -... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 2127,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/ambari_agent | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/ambari_agent/tasks/main.yml",
"content": "--- \n#ambari_server \n - name: Creating directory /home/rpm/ambari/\n file: \n path: /home/rpm/ambari\n state: directory\n \n - name: Copying rpm to remote host\n copy: \n src: /etc/ansible/rol... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2527,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/ambari_final | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/ambari_final/tasks/main.yml",
"content": "--- \n - name: Waiting for impala\n debug: msg=\"等待impala部署完成\" \n \n - name: Waiting for impala\n wait_for:\n path: /etc/default/impala\n state: present\n\n - name: Impala installed\n debug: msg=\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2529,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/ambari_mariadb | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/ambari_mariadb/tasks/main.yml",
"content": "--- \n - name: Dropping database \n mysql_db:\n login_user: root\n login_password: \"{{mysql_<PASSWORD>}}\"\n name: \"{{item.name}}\"\n state: absent\n with_items: \n - {name: ambari}\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2834,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/ambari_server | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/ambari_server/tasks/main.yml",
"content": "--- \n#ambari_server \n - name: Creating directory /home/rpm/ambari/\n file: \n path: /home/rpm/ambari\n state: directory\n \n - name: Copying rpm to remote host\n copy: \n src: /etc/ansible/ro... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 5233,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/harbor | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/harbor/tasks/main.yml",
"content": "--- \n - name: Creating directory \n file:\n path: /home/harbor\n state: directory\n \n - name: Getting docker rpm\n shell: rpm -qa|grep docker | wc -l\n register: result\n \n - name: St... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 5773,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/init | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/init/tasks/main.yml",
"content": "--- \n - name: Stopping firewalld.service\n systemd:\n name: firewalld.service\n state: stopped\n enabled: no\n register: status\n - name: test1\n debug: msg=\"{{status}}\"\n when: status is failed\n \n - name... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 585,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/jdk | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/jdk/tasks/main.yml",
"content": "---\n - name: Creating remote directory\n file:\n path: /opt/deploy/jdk/\n state: directory\n \n - name: Copying rpm packages to remote server\n copy:\n src: '{{item.src}}'\n dest: '{{item.dest}}'\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2226,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/k8s_client | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/k8s_client/templates/daemon.json",
"content": "{\n \"insecure-registries\":[\"{{harbor}}:5000\"]\n}\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 48
},
{
"path": "ansible/roles/k8s_client/tasks/main.yml",
"content": "--- \n - n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1072,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/k8s_down_vip | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/k8s_down_vip/tasks/main.yml",
"content": "--- \n - name: Getting network \n shell: |\n ls /etc/sysconfig/network-scripts |head -1 |awk -F '-' '{print $2}'\n register: network \n \n - name: Downing vip on master01\n shell: |\n ifconfig {{net... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 303,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/k8s_ingress | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/k8s_ingress/tasks/main.yml",
"content": "--- \n - name: Creating yml files\n file:\n path: /home/k8s_yml/ingress\n state: directory\n \n - name: Copying mandatory.yaml to remote \n template:\n src: mandatory.yaml \n dest: /home/k8s... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2361,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/k8s_init | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/k8s_init/tasks/main.yml",
"content": "--- \n \n - name: Copying hosts to remote\n template:\n src: hosts\n dest: /etc/ \n \n - name: Disabled swap\n shell: swapoff -a\n \n - name: Disabled swap permanently\n lineinfile:\n path: /et... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1136,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/k8s_join | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/k8s_join/tasks/main.yml",
"content": "---\n - name: Copying cert files\n shell: sh /root/cert-main-master.sh\n \n - name: Creating new token-ca-cert-hash\n shell: kubeadm token create --print-join-command\n register: join_line\n \n - name: Printing ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1168,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/k8s_master01 | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/k8s_master01/tasks/main.yml",
"content": "--- \n - name: Getting kubeadm rpm\n shell: rpm -qa|grep kubeadm | wc -l\n register: result\n\n - name: Resetting k8s\n shell: kubeadm reset -f\n when: result.stdout !='0'\n\n - name: Getting docker rpm\n s... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 3904,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/k8s_master02 | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/k8s_master02/tasks/main.yml",
"content": "--- \n - name: Getting kubeadm rpm\n shell: rpm -qa|grep kubeadm | wc -l\n register: result\n\n - name: Resetting k8s\n shell: kubeadm reset -f\n when: result.stdout !='0'\n\n# - name: Getting nodes m... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 3277,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/k8s_realserver | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/k8s_realserver/tasks/main.yml",
"content": "--- \n \n - name: Copying realserver.sh to remote\n template:\n src: realserver.sh \n dest: /etc/rc.d/init.d/ \n mode: 0755 \n \n - name: Startting realserver.sh\n shell: /etc/rc.d/init.d/realserv... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 373,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/keepalived_slave | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/keepalived_slave/tasks/main.yml",
"content": "#如果提示虚拟IP已被占用,请核查确认是否存在keepalived进程\n---\n - name: Applying ipvsadm\n shell: ipvsadm\n \n - name: Creating remote directory\n file:\n path: /opt/deploy/keepalived/\n state: directory\n \n - na... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 4965,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/mariadb | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/mariadb/tasks/main.yml",
"content": "---\n - name: Stopping mysqld/mariadb \n systemd:\n name: \"{{item.app}}\"\n state: stopped\n with_items:\n - {app: mysqld.service}\n - {app: mariadb.service}\n ignore_errors: yes\n\n - name: Mysq... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 3743,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/mysql | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/mysql/templates/my.cnf",
"content": "[mysqld]\nbasedir = /usr/local/mysql/\ndatadir = /usr/local/mysql/data/\nsocket=/var/lib/mysql/mysql.sock\n# Disabling symbolic-links is recommended to prevent assorted security risks\nsymbolic-links=0\n# Settings user and group are ignored when ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 6549,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/nfs_client | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/nfs_client/tasks/main.yml",
"content": "--- #大概耗时:\n - name: Creating group dc_sys\n group:\n name: dc_sys\n state: present\n \n - name: Creating user dc_sys\n user:\n name: dc_sys\n group: dc_sys\n state: present\n\n - name: Um... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1111,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/nfs_server | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/nfs_server/tasks/main.yml",
"content": "--- \n - name: Creating group\n group:\n name: dc_sys\n state: present\n \n - name: Creating user\n user:\n name: dc_sys\n group: dc_sys\n state: present\n \n - name: Creati... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1500,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/nginx | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/nginx/tasks/main.yml",
"content": "---\n - name: Creating remote directory\n file:\n path: /opt/deploy/nginx/\n state: directory\n \n - name: Copying rpm packages to remote server\n copy:\n src: '{{item.src}}'\n dest: '{{item.dest}}... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1697,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/ntp_server | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/ntp_server/tasks/main.yml",
"content": "---\n - name: Stopping ntpd\n systemd: \n name: ntpd\n state: stopped\n \n - name: Copying configs to remote hosts\n template:\n src: ntp.conf\n dest: /etc/ntp.conf\n \n - name: Restar... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 422,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/pexpect | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/pexpect/vars/main.yml",
"content": "#目标服务器IP\nIP: \"{{ansible_default_ipv4['address']}}\"\nkeepalived_vip: 192.168.6.172\nkeepalived_app: nginx\nkeepalived_master_conf: keepalived_master_k8s.conf\nkeepalived_slave_conf: keepalived_slave_k8s.conf\npostgres_pwd: <PASSWORD>\nmysql_root... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2403,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/pg_ha | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/pg_ha/tasks/main.yml",
"content": "--- \n - name: Selecting HA hosts from pg-10 \n become: yes\n become_user: postgres\n shell: psql -c \"select client_addr,sync_state from pg_stat_replication;\"\n register: result\n \n - name: Check pg HA\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 476,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/pg_single | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/pg_single/tasks/main.yml",
"content": "---\n - name: Creating remote directory\n file:\n path: /opt/deploy/postgres/\n state: directory\n \n - name: Copying rpm packages to remote server\n copy:\n src: '{{item.src}}'\n dest: '{{item... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2888,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/pg_slave | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/pg_slave/tasks/main.yml",
"content": "---\n - name: Creating remote directory\n file:\n path: /opt/deploy/postgres/\n state: directory\n \n - name: Copying rpm packages to remote server\n copy:\n src: '{{item.src}}'\n dest: '{{item.... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 4513,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/pymysql | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/pymysql/tasks/main.yml",
"content": "---\n - name: Creating directory /opt/deploy/rpm/mysql/\n file:\n name: /opt/deploy/rpm/mysql\n state: directory\n\n - name: Copying PyMySQL packages\n copy: \n src: '{{item.src}}'\n dest: '{{item.dest}... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1513,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/rawdata | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/rawdata/tasks/main.yml",
"content": "--- \n - name: Creating group \n group:\n name: \"{{item.name}}\"\n state: present\n with_items:\n - {name: rawdata}\n - {name: dsm}\n \n - name: Creating user \n user:\n name: \"{... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1179,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/rawdata_pg | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/rawdata_pg/tasks/main.yml",
"content": "--- \n - name: Creating group \n group:\n name: \"{{item.name}}\"\n state: present\n with_items:\n - {name: dsm}\n - {name: rawdata}\n - {name: bdp_sys}\n \n - name: Creating user \n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1680,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/rawdata_pg_update | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/rawdata_pg_update/tasks/main.yml",
"content": "--- \n - name: Creating directory \n file:\n path: /opt/deploy/rpm/rawdata\n state: directory\n \n - name: Copying sql to remote host\n copy:\n dest: \"{{item.dest}}\"\n src: \"{... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1462,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/rawdata_update | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/rawdata_update/tasks/main.yml",
"content": "--- \n\n \n - name: Stoping app \n become_user: rawdata\n become: yes\n shell: |\n cd /app/rawdata/taskserver/taskserver/bin\n sh shutdown.sh\n args:\n removes: /app/rawdata/taskserver/ta... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 8687,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/redis01 | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/redis01/tasks/main.yml",
"content": "---\n - name: Creating remote directory\n file:\n path: /opt/deploy/redis/\n state: directory\n \n - name: Copying rpm packages to remote server\n copy:\n src: '{{item.src}}'\n dest: '{{item.dest... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 9415,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/redis02 | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/redis02/tasks/main.yml",
"content": "---\n - name: Creating remote directory\n file:\n path: /opt/deploy/redis/\n state: directory\n \n - name: Copying rpm packages to remote server\n copy:\n src: '{{item.src}}'\n dest: '{{item.dest... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 7260,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/test | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/test/tasks/main.yml",
"content": "---\n# - name: Creating new token-ca-cert-hash\n# shell: kubeadm token create --print-join-command\n# register: token\n \n - name: Printing\n debug: msg='{{inventory_hostname}}'\n when: inventory_hostname=='jdk01'\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 247,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/test1 | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/test1/tasks/main.yml",
"content": "---\n # - name: Waiting test0\n # wait_for:\n # path: /opt/wzq/test0\n # state: present\n # msg: \"等待test被创建\"\n \n # - name: Printing finished\n # debug: msg=\"/opt/wzq/test0已生成\" \n - name: Unarch... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 286,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/yum_client | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/yum_client/tasks/main.yml",
"content": "---\n - name: Creating /etc/yum.repos.d/bak\n file: \n path: /etc/yum.repos.d/bak\n state: directory\n \n - name: Getting repo files\n find: \n paths: /etc/yum.repos.d\n patterns: \"*repo\"\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 699,
"all_permissive": false
} |
ansible_role | QQLOVE123/ansible-basic | db8487ca0b327129ee7ce6cd2400e6aa37a0d32e | 1 | ansible/roles/yum_server | 7,711 | [
"no_license"
] | [
{
"path": "ansible/roles/yum_server/tasks/main.yml",
"content": "--- \n - name: Copying yumrepo.conf to /etc/nginx/conf.d\n template:\n src: yumrepo.conf\n dest: /etc/nginx/conf.d/ \n \n - name: Creating repo,it will take pretty long time\n shell: createrepo ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 619,
"all_permissive": false
} |
ansible_role | yahelron/ansible | 8f94acf7ffbab7084a7721b39907c05e6291875c | 0 | roles/roles/zip | 7,708 | [
"no_license"
] | [
{
"path": "roles/roles/zip/handlers/main.yml",
"content": "---\n# handlers file for zip",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 27
},
{
"path": "roles/roles/zip/tasks/main.yml",
"content": "---\n- name: Install Zip\n become: yes\n apt:\n pkg: zip\n... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 258,
"all_permissive": false
} |
ansible_role | 1homas/Ansible_Docker_Desktop | d2bb0a7455fbb954c69c6f4ebc70102fb7e0d105 | 0 | roles/alpine | 7,708 | [
"no_license"
] | [
{
"path": "roles/alpine/tasks/stop.yaml",
"content": "---\n- name: Stop the `alpine` Docker container\n hosts: localhost\n connection: local\n tasks:\n\n - name: Stop a container\n community.docker.docker_container:\n name: alpine\n state: stopped\n register: result\n \n - name: resu... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1988,
"all_permissive": false
} |
ansible_role | 1homas/Ansible_Docker_Desktop | d2bb0a7455fbb954c69c6f4ebc70102fb7e0d105 | 0 | roles/nginx | 7,708 | [
"no_license"
] | [
{
"path": "roles/nginx/tasks/main.yaml",
"content": "---\n\n\n- name: Deploy nginx Docker container\n community.docker.docker_container:\n image: nginx:stable\n name: nginx\n state: started\n auto_remove: true\n container_default_behavior: no_defaults\n ports:\n - \"8080:80\" # h... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 388,
"all_permissive": false
} |
ansible_role | 1homas/Ansible_Docker_Desktop | d2bb0a7455fbb954c69c6f4ebc70102fb7e0d105 | 0 | roles/ubuntu | 7,708 | [
"no_license"
] | [
{
"path": "roles/ubuntu/tasks/main.yaml",
"content": "---\n\n\n- name: Deploy Ubuntu Docker Container\n community.docker.docker_container:\n image: ubuntu:20.04\n # image: ubuntu:18.04\n name: ubuntu\n state: started\n auto_remove: true\n container_default_behavior: no_defaults\n expos... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1368,
"all_permissive": false
} |
ansible_role | nimlock/netology-devkub | c0e8526b4057941abbebf220e0b92005eb9b3de0 | 0 | 12-kubernetes-01-intro/ansible/roles/init_role | 7,708 | [
"no_license"
] | [
{
"path": "12-kubernetes-01-intro/ansible/roles/init_role/tasks/main.yml",
"content": "---\n - name: copy ssh key to {{ inventory_hostname }}\n include_tasks: \"copy_ssh_id.yml\"\n vars:\n target_user: \"{{ ansible_user }}\"\n target_host: \"{{ ansible_host }}\"\n\n - name: print debug\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 323,
"all_permissive": false
} |
ansible_role | vinodkumarpaleti/ansible-roboshop-roles | abfd091ae19b5e2b12be0004540df78167024697 | 0 | roles/mongodb | 7,708 | [
"no_license"
] | [
{
"path": "roles/mongodb/tasks/main.yaml",
"content": "\n# I need to refer nodejs tasks in common folder\n# mongodb is one role\n# common is also another role\n# I need to import a task nodejs.yaml in catalogue\n\n - name: copy mongodb.repo to yum.repos.d\n ansible.builtin.copy:\n src: mongodb.repo\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 761,
"all_permissive": false
} |
ansible_role | vinodkumarpaleti/ansible-roboshop-roles | abfd091ae19b5e2b12be0004540df78167024697 | 0 | roles/mysql | 7,708 | [
"no_license"
] | [
{
"path": "roles/mysql/tasks/main.yaml",
"content": "# I need to refer nodejs tasks in common folder\n# mysql is one role\n# common is also another role\n# I need to import a task nodejs.yaml in catalogue\n\n- name: Disable current MySql version\n ansible.builtin.command: yum module disable mysql -y\n\n- n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 697,
"all_permissive": false
} |
ansible_role | vinodkumarpaleti/ansible-roboshop-roles | abfd091ae19b5e2b12be0004540df78167024697 | 0 | roles/payment | 7,708 | [
"no_license"
] | [
{
"path": "roles/payment/tasks/main.yaml",
"content": "# I need to refer nodejs tasks in common folder\n# payment is one role\n# common is also another role\n\n- name: Install Python\n ansible.builtin.import_role:\n name: common\n tasks_from: python\n\n- name: SetUp Application\n ansible.builtin.imp... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 516,
"all_permissive": false
} |
ansible_role | vinodkumarpaleti/ansible-roboshop-roles | abfd091ae19b5e2b12be0004540df78167024697 | 0 | roles/shipping | 7,708 | [
"no_license"
] | [
{
"path": "roles/shipping/tasks/main.yaml",
"content": "# I need to refer nodejs tasks in common folder\n# shipping is one role\n# common is also another role\n# I need to import a task nodejs.yaml in catalogue\n\n- name: Install Maven\n ansible.builtin.import_role:\n name: common\n tasks_from: maven... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 774,
"all_permissive": false
} |
ansible_role | Chai66/roboshop-ansible-roles | 7cd5a7cf028b068446b973786edd844fb3b8f045 | 0 | roles/catalogue | 7,708 | [
"no_license"
] | [
{
"path": "roles/catalogue/tasks/main.yaml",
"content": "- name: app setup\n ansible.builtin.import_role:\n name: common\n tasks_from: app-setup\n\n- name: app setup\n ansible.builtin.import_role:\n name: common\n tasks_from: nodejs\n\n- name: app setup\n ansible.builtin.import_role:\n nam... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 466,
"all_permissive": false
} |
ansible_role | Chai66/roboshop-ansible-roles | 7cd5a7cf028b068446b973786edd844fb3b8f045 | 0 | roles/common | 7,708 | [
"no_license"
] | [
{
"path": "roles/common/tasks/python.yaml",
"content": "- name: Install python packages\n ansible.builtin.dnf:\n name: \"{{item}}\" \n state: present\n loop:\n - python36\n - gcc\n - python3-devel\n\n- name: Install dependencies\n ansible.builtin.command: pip3.6 install -r requirements.txt\n ar... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 385,
"all_permissive": false
} |
ansible_role | Chai66/roboshop-ansible-roles | 7cd5a7cf028b068446b973786edd844fb3b8f045 | 0 | roles/mysql | 7,708 | [
"no_license"
] | [
{
"path": "roles/mysql/tasks/main.yaml",
"content": "- name: disable current version of sql\n ansible.builtin.command: dnf module disable mysql -y\n\n- name: setup mysql5.7 repo\n ansible.builtin.copy:\n src: mysql.repo\n dest: /etc/yum.repos.d/mysql.repo\n\n# - name: install mysql server\n# ansib... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 724,
"all_permissive": false
} |
ansible_role | Chai66/roboshop-ansible-roles | 7cd5a7cf028b068446b973786edd844fb3b8f045 | 0 | roles/web | 7,708 | [
"no_license"
] | [
{
"path": "roles/web/tasks/main.yaml",
"content": "- name: Install nginx\n ansible.builtin.dnf:\n name: nginx\n state: present\n\n # - name: start and enable catalogue\n # ansible.builtin.service:\n # name: catalogue\n # state: started\n # enabled: yes\n \n- name: remove html d... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1103,
"all_permissive": false
} |
ansible_role | NielsDegrande/phrasegen | 00a3a3d28f84aefc0a819d81594dd0a363164663 | 0 | ansible/roles/phrasegen | 7,708 | [
"no_license"
] | [
{
"path": "ansible/roles/phrasegen/handlers/main.yml",
"content": "---\n# handlers file for phrasegen",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 33
},
{
"path": "ansible/roles/phrasegen/tests/test.yml",
"content": "---\n- hosts: localhost\n remote_user: r... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 1699,
"all_permissive": false
} |
ansible_role | riazus/cloud-1 | 5cf782746e342d77259a779f1262af521e153f5e | 0 | roles/dependencies | 7,708 | [
"no_license"
] | [
{
"path": "roles/dependencies/tasks/main.yml",
"content": "- name: Set Up Docker Prerequisites\n apt:\n name:\n - ca-certificates\n - curl\n - gnupg\n - lsb-release\n state: present\n update_cache: yes\n\n- name: Add Docker's GPG key\n apt_key:\n url: https://download.docke... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 698,
"all_permissive": false
} |
ansible_role | riazus/cloud-1 | 5cf782746e342d77259a779f1262af521e153f5e | 0 | roles/dockers | 7,708 | [
"no_license"
] | [
{
"path": "roles/dockers/tasks/main.yml",
"content": "- name: Create && Run Dockerfiles\n command: docker compose -f /home/rusmanov/Dockerfiles/docker-compose.yml up --build",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 119
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 119,
"all_permissive": false
} |
ansible_role | JonTheNiceGuy/clouddev | 85078622a61899d9b496f67d587d55f3c32003e9 | 0 | roles/extra_debian_repo | 7,710 | [
"no_license"
] | [
{
"path": "roles/extra_debian_repo/tasks/main.yml",
"content": "---\r\n- name: Add Repo Key\r\n apt_key:\r\n url: \"{{ key_url }}\"\r\n state: present\r\n when: key_url|default('') != ''\r\n\r\n- name: Add Repo Source\r\n apt_repository:\r\n repo: \"{{ repo }}\"\r\n state: present\r\n file... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 291,
"all_permissive": false
} |
ansible_role | megun/ansible-samples | 19b4f2ff1159656caf8aa23fbf8960b3e55f9a74 | 0 | roles/common_packages | 7,710 | [
"no_license"
] | [
{
"path": "roles/common_packages/tasks/main.yml",
"content": "---\n\n- name: set timezone to Asia/Tokyo\n timezone:\n name: Asia/Tokyo\n become: true\n\n- name: install common packages\n yum:\n name:\n - git\n - dstat\n - tcpdump\n - sysstat\n - iotop\n - tree\n - tmux\n - p... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 326,
"all_permissive": false
} |
ansible_role | megun/ansible-samples | 19b4f2ff1159656caf8aa23fbf8960b3e55f9a74 | 0 | roles/debugrole | 7,710 | [
"no_license"
] | [
{
"path": "roles/debugrole/tasks/main.yml",
"content": " - name: Magic for Facts | hostvars\n debug: var=mariadb_root_password\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 74
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 74,
"all_permissive": false
} |
ansible_role | megun/ansible-samples | 19b4f2ff1159656caf8aa23fbf8960b3e55f9a74 | 0 | roles/mariadb_server | 7,710 | [
"no_license"
] | [
{
"path": "roles/mariadb_server/tasks/main.yml",
"content": "---\n\n- name: copy mariadb repository\n copy:\n src: etc/yum.repos.d/mariadb.repo\n dest: /etc/yum.repos.d/mariadb.repo\n become: true\n\n- name: install mariadb server\n yum:\n name: '{{ item }}'\n state: installed\n with_items:\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1674,
"all_permissive": false
} |
ansible_role | megun/ansible-samples | 19b4f2ff1159656caf8aa23fbf8960b3e55f9a74 | 0 | roles/nginx | 7,710 | [
"no_license"
] | [
{
"path": "roles/nginx/tasks/main.yml",
"content": "---\n- import_tasks: tasks/amzn2.yml\n when:\n ansible_distribution == \"Amazon\" and ansible_distribution_version == '2'\n\n- import_tasks: tasks/centos.yml\n when:\n ansible_distribution == \"CentOS\"\n\n- name: install nginx\n yum:\n name: n... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 522,
"all_permissive": false
} |
ansible_role | megun/ansible-samples | 19b4f2ff1159656caf8aa23fbf8960b3e55f9a74 | 0 | roles/percona_cluster | 7,710 | [
"no_license"
] | [
{
"path": "roles/percona_cluster/handlers/main.yml",
"content": "---\n\n- name: restart mysql\n service:\n name: mysql\n state: restarted\n enabled: yes\n become: true\n delegate_to: \"{{item}}\"\n run_once: true\n when: hostvars[item].change_mycnf | changed\n with_items: '{{ play_hosts }}'\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 3073,
"all_permissive": false
} |
ansible_role | megun/ansible-samples | 19b4f2ff1159656caf8aa23fbf8960b3e55f9a74 | 0 | roles/python | 7,710 | [
"no_license"
] | [
{
"path": "roles/python/tasks/main.yml",
"content": "---\n\n- name: install python\n yum:\n name: python\n state: present\n become: true\n\n- name: check pip\n shell: which pip\n changed_when: false\n register: install_pip\n ignore_errors: true\n\n- name: download pip\n get_url:\n url: http... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 542,
"all_permissive": false
} |
ansible_role | megun/ansible-samples | 19b4f2ff1159656caf8aa23fbf8960b3e55f9a74 | 0 | roles/rabbitmq_cluster | 7,710 | [
"no_license"
] | [
{
"path": "roles/rabbitmq_cluster/tasks/install.yml",
"content": "---\n\n- name: Importing the signing key for RabbitMQ\n rpm_key:\n state: present\n key: https://www.rabbitmq.com/rabbitmq-release-signing-key.asc\n become: true\n\n- name: Install repository of erlang\n copy:\n src: etc/yum.repos... | {
"task_files": 7,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 7,
"total_bytes": 4152,
"all_permissive": false
} |
ansible_role | megun/ansible-samples | 19b4f2ff1159656caf8aa23fbf8960b3e55f9a74 | 0 | roles/redis | 7,710 | [
"no_license"
] | [
{
"path": "roles/redis/tasks/start.yml",
"content": "---\n\n- name: start redis\n systemd:\n name: redis\n state: started\n enabled: yes\n become: true\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 103
},
{
"path": "roles/redis/tasks/user.yml",
"... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 1649,
"all_permissive": false
} |
ansible_role | megun/ansible-samples | 19b4f2ff1159656caf8aa23fbf8960b3e55f9a74 | 0 | roles/redis_sentinel | 7,710 | [
"no_license"
] | [
{
"path": "roles/redis_sentinel/tasks/install.yml",
"content": "---\n\n- name: install epel repository\n yum:\n name: epel-release\n state: latest\n become: true\n\n- name: install packages\n yum:\n name: \"{{ item }}\"\n state: latest\n with_items:\n - gcc\n - jemalloc-devel\n - tc... | {
"task_files": 4,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 2410,
"all_permissive": false
} |
ansible_role | megun/ansible-samples | 19b4f2ff1159656caf8aa23fbf8960b3e55f9a74 | 0 | roles/ruby | 7,710 | [
"no_license"
] | [
{
"path": "roles/ruby/tasks/main.yml",
"content": "---\n\n- name: install package\n yum:\n name: \"{{ item }}\"\n state: present\n with_items:\n - git\n - gcc\n - gcc-c++\n - openssl-devel\n - zlib-devel\n - readline-devel\n become: true\n\n- name: install rbenv\n git:\n repo:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1449,
"all_permissive": false
} |
ansible_role | megun/ansible-samples | 19b4f2ff1159656caf8aa23fbf8960b3e55f9a74 | 0 | roles/sensu_server | 7,710 | [
"no_license"
] | [
{
"path": "roles/sensu_server/tasks/install.yml",
"content": "---\n\n- name: set sensu repository\n template:\n src: etc/yum.repos.d/sensu.repo\n dest: /etc/yum.repos.d/sensu.repo\n become: true\n\n- name: install sensu\n yum: name=\"{{ item }}\" state=installed\n with_items:\n - sensu\n - u... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 7,
"total_bytes": 2361,
"all_permissive": false
} |
ansible_role | megun/ansible-samples | 19b4f2ff1159656caf8aa23fbf8960b3e55f9a74 | 0 | roles/td-agent | 7,710 | [
"no_license"
] | [
{
"path": "roles/td-agent/handlers/main.yml",
"content": "---\n\n- name: restart td-agent\n service:\n name: td-agent\n state: restarted\n enabled: yes\n become: true\n\n- name: restart rsyslog\n service:\n name: rsyslog\n state: restarted\n enabled: yes\n become: true\n",
"license... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 11,
"total_bytes": 6931,
"all_permissive": false
} |
ansible_role | megun/ansible-samples | 19b4f2ff1159656caf8aa23fbf8960b3e55f9a74 | 0 | roles/zabbix_agent | 7,710 | [
"no_license"
] | [
{
"path": "roles/zabbix_agent/tasks/main.yml",
"content": "---\n\n- name: install zabbix repository\n yum:\n name: http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm\n become: true\n\n- name: install zabbix-agent\n yum:\n name: \"{{ item }}\"\n state: installed\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 399,
"all_permissive": false
} |
ansible_role | megun/ansible-samples | 19b4f2ff1159656caf8aa23fbf8960b3e55f9a74 | 0 | roles/zabbix_server | 7,710 | [
"no_license"
] | [
{
"path": "roles/zabbix_server/tasks/main.yml",
"content": "---\n\n- name: install requirement modules for selinux\n yum:\n name: \"{{ item }}\"\n state: installed\n with_items:\n - libselinux-python\n - libsemanage-python\n become: true\n\n- name: install zabbix repository\n yum:\n name:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 3091,
"all_permissive": false
} |
ansible_role | shaderecker/ansible-pihole | c8293fd9a7756c388b5e5fc792df01a70b05a811 | 145 | roles/bootstrap | 7,710 | [
"no_license"
] | [
{
"path": "roles/bootstrap/tasks/main.yaml",
"content": "- name: Lock password for {{ ansible_user }}\n ansible.builtin.user:\n name: \"{{ ansible_user }}\"\n password_lock: true\n\n- name: Set bashrc for {{ ansible_user }}\n ansible.builtin.blockinfile:\n path: \"/home/{{ ansible_user }}/.bashrc... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1864,
"all_permissive": false
} |
ansible_role | shaderecker/ansible-pihole | c8293fd9a7756c388b5e5fc792df01a70b05a811 | 145 | roles/docker | 7,710 | [
"no_license"
] | [
{
"path": "roles/docker/tasks/main.yaml",
"content": "- name: Add Docker apt key\n ansible.builtin.apt_key:\n url: https://download.docker.com/linux/raspbian/gpg\n id: <KEY>\n\n- name: Add Docker apt repository\n ansible.builtin.apt_repository:\n repo: deb https://download.docker.com/linux/raspbi... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 858,
"all_permissive": false
} |
ansible_role | shaderecker/ansible-pihole | c8293fd9a7756c388b5e5fc792df01a70b05a811 | 145 | roles/keepalived | 7,710 | [
"no_license"
] | [
{
"path": "roles/keepalived/handlers/main.yaml",
"content": "- name: Reload sysctl config\n ansible.builtin.command: sysctl -p\n\n- name: Restart keepalived service\n ansible.builtin.service:\n name: keepalived\n state: restarted\n",
"license_type": "no_license",
"detected_licenses": [],
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 1890,
"all_permissive": false
} |
ansible_role | shaderecker/ansible-pihole | c8293fd9a7756c388b5e5fc792df01a70b05a811 | 145 | roles/pihole | 7,710 | [
"no_license"
] | [
{
"path": "roles/pihole/tasks/main.yaml",
"content": "- name: Create pihole directory\n ansible.builtin.file:\n path: \"/home/{{ ansible_user }}/pihole\"\n owner: \"{{ ansible_user }}\"\n group: \"{{ ansible_user }}\"\n state: directory\n mode: \"755\"\n\n- name: Start/Update pihole containe... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1333,
"all_permissive": false
} |
ansible_role | shaderecker/ansible-pihole | c8293fd9a7756c388b5e5fc792df01a70b05a811 | 145 | roles/start_keepalived | 7,710 | [
"no_license"
] | [
{
"path": "roles/start_keepalived/tasks/main.yaml",
"content": "- name: Ensure keepalived service is started\n ansible.builtin.service:\n name: keepalived\n state: started\n register: result\n failed_when:\n - result.failed == true\n - '\"Could not find the requested service\" not in result.m... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 239,
"all_permissive": false
} |
ansible_role | shaderecker/ansible-pihole | c8293fd9a7756c388b5e5fc792df01a70b05a811 | 145 | roles/stop_keepalived | 7,710 | [
"no_license"
] | [
{
"path": "roles/stop_keepalived/tasks/main.yaml",
"content": "- name: Ensure keepalived service is stopped\n ansible.builtin.service:\n name: keepalived\n state: stopped\n register: result\n failed_when:\n - result.failed == true\n - '\"Could not find the requested service\" not in result.ms... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 239,
"all_permissive": false
} |
ansible_role | shaderecker/ansible-pihole | c8293fd9a7756c388b5e5fc792df01a70b05a811 | 145 | roles/sync | 7,710 | [
"no_license"
] | [
{
"path": "roles/sync/tasks/main.yaml",
"content": "- name: Install sqlite3\n ansible.builtin.apt:\n name: sqlite3\n become: true\n\n- name: Generate ssh keypair\n community.crypto.openssh_keypair:\n comment: pihole-sync-{{ inventory_hostname }}\n path: .ssh/id_rsa_sync\n register: ssh_key\n\n-... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 2035,
"all_permissive": false
} |
ansible_role | shaderecker/ansible-pihole | c8293fd9a7756c388b5e5fc792df01a70b05a811 | 145 | roles/updates | 7,710 | [
"no_license"
] | [
{
"path": "roles/updates/tasks/main.yaml",
"content": "- name: Update apt packages\n ansible.builtin.apt:\n autoclean: true\n autoremove: true\n clean: true\n update_cache: true\n upgrade: dist\n\n- name: Check if reboot is needed\n ansible.builtin.stat:\n path: /var/run/reboot-required\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 349,
"all_permissive": false
} |
ansible_role | kxi/gocd-ecosystem-vagrant | 0c5f7f9a49c838ba867d69f9e22eab24736c3163 | 0 | playbooks/roles/git | 7,710 | [
"no_license"
] | [
{
"path": "playbooks/roles/git/tasks/main.yml",
"content": "- name: Install Git Related Libs\n yum:\n name: \"{{ item }}\"\n state: present\n with_items:\n - gcc\n - gcc-c++\n - kernel-devel\n - curl-devel\n - expat-devel\n - gettext-devel\n - openssl-devel\n - perl-devel\n ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 747,
"all_permissive": false
} |
ansible_role | kxi/gocd-ecosystem-vagrant | 0c5f7f9a49c838ba867d69f9e22eab24736c3163 | 0 | playbooks/roles/install_go_agent | 7,710 | [
"no_license"
] | [
{
"path": "playbooks/roles/install_go_agent/tasks/main.yml",
"content": "- name: Add GoCD repo\n copy:\n src: gocd.repo\n dest: /etc/yum.repos.d/gocd.repo\n\n\n- name: Install JDK\n yum:\n name: java-1.7.0-openjdk-devel\n state: present\n\n\n- name: Install Go Agent\n yum:\n name: go-agent... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 834,
"all_permissive": false
} |
ansible_role | kxi/gocd-ecosystem-vagrant | 0c5f7f9a49c838ba867d69f9e22eab24736c3163 | 0 | playbooks/roles/install_go_server | 7,710 | [
"no_license"
] | [
{
"path": "playbooks/roles/install_go_server/tasks/main.yml",
"content": "- name: Add GoCD repo\n copy:\n src: gocd.repo\n dest: /etc/yum.repos.d/gocd.repo\n\n\n- name: Install JDK\n yum:\n name: java-1.7.0-openjdk-devel\n state: present\n\n\n- name: Install Go Server\n yum:\n name: go-ser... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 243,
"all_permissive": false
} |
ansible_role | kxi/gocd-ecosystem-vagrant | 0c5f7f9a49c838ba867d69f9e22eab24736c3163 | 0 | playbooks/roles/maven | 7,710 | [
"no_license"
] | [
{
"path": "playbooks/roles/maven/templates/settings.xml.j2",
"content": "<settings xmlns=\"http://maven.apache.org/SETTINGS/1.0.0\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xsi:schemaLocation=\"http://maven.apache.org/SETTINGS/1.0.0\n http://maven.apache... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 3909,
"all_permissive": false
} |
ansible_role | kxi/gocd-ecosystem-vagrant | 0c5f7f9a49c838ba867d69f9e22eab24736c3163 | 0 | playbooks/roles/sys_package | 7,710 | [
"no_license"
] | [
{
"path": "playbooks/roles/sys_package/tasks/main.yml",
"content": "- name: Install System Tools\n yum:\n name: \"{{ item }}\"\n state: present\n with_items:\n - nc\n - telnet\n - vim\n - unzip\n - python-setuptools\n\n- name: Install Python Pip\n shell: >\n easy_install pip\n be... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 384,
"all_permissive": false
} |
ansible_role | kxi/gocd-ecosystem-vagrant | 0c5f7f9a49c838ba867d69f9e22eab24736c3163 | 0 | playbooks/roles/user_go_agent | 7,710 | [
"no_license"
] | [
{
"path": "playbooks/roles/user_go_agent/tasks/main.yml",
"content": "- name: Ensure Home Directory Exist\n file:\n path: \"{{ go_user_home }}\"\n state: \"directory\"\n mode: 0755\n\n\n- name: Create GO Account Group\n group:\n name: \"{{ go_group }}\"\n state: present\n\n\n- name: Create ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 521,
"all_permissive": false
} |
ansible_role | nobuto-m/dotfiles | 006179d5dfc4d16c39fefb5ea8d923b4f831fb29 | 3 | roles/common | 7,710 | [
"no_license"
] | [
{
"path": "roles/common/files/xkeysnail.config.py",
"content": "\nfrom xkeysnail.transform import define_keymap\nfrom xkeysnail.transform import define_modmap\nfrom xkeysnail.transform import K\nfrom xkeysnail.transform import Key\n\nimport re\n\n# [Global modemap]\ndefine_modmap({\n Key.CAPSLOCK: Key.LE... | {
"task_files": 11,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 17,
"total_bytes": 18337,
"all_permissive": false
} |
ansible_role | nobuto-m/dotfiles | 006179d5dfc4d16c39fefb5ea8d923b4f831fb29 | 3 | roles/laptop | 7,710 | [
"no_license"
] | [
{
"path": "roles/laptop/tasks/main.yml",
"content": "---\n- name: disable lid-close suspend, but lock\n blockinfile:\n dest: /etc/systemd/logind.conf\n block: |\n HandleLidSwitch=lock\n HandleLidSwitchExternalPower=lock\n HandleLidSwitchDocked=ignore\n become: yes\n\n#- name: install ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 673,
"all_permissive": false
} |
ansible_role | nobuto-m/dotfiles | 006179d5dfc4d16c39fefb5ea8d923b4f831fb29 | 3 | roles/laptop_fmvs90tb | 7,710 | [
"no_license"
] | [
{
"path": "roles/laptop_fmvs90tb/tasks/main.yml",
"content": "---\n- name: 'workaround for LP: #1500504 - i8042.nomux to kernel cmdline'\n copy:\n src=files/lp1500504.cfg\n dest=/etc/default/grub.d/lp1500504.cfg\n become: yes\n register: lp_1500504\n\n- name: 'workaround for LP: #1500504 - update-g... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 468,
"all_permissive": false
} |
ansible_role | nobuto-m/dotfiles | 006179d5dfc4d16c39fefb5ea8d923b4f831fb29 | 3 | roles/laptop_t14gen3amd | 7,710 | [
"no_license"
] | [
{
"path": "roles/laptop_t14gen3amd/tasks/main.yml",
"content": "---\n- name: disable wakeup events from input devices\n copy:\n src: files/99-local-disable-wakeup-events-from-input-dev.rules\n dest: /etc/udev/rules.d/99-local-disable-wakeup-events-from-input-dev.rules\n become: yes\n\n- name: ignore... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1354,
"all_permissive": false
} |
ansible_role | nobuto-m/dotfiles | 006179d5dfc4d16c39fefb5ea8d923b4f831fb29 | 3 | roles/laptop_t14gen5amd | 7,710 | [
"no_license"
] | [
{
"path": "roles/laptop_t14gen5amd/tasks/main.yml",
"content": "---\n- name: disable wakeup events from input devices\n copy:\n src: files/99-local-disable-wakeup-events-from-input-dev.rules\n dest: /etc/udev/rules.d/99-local-disable-wakeup-events-from-input-dev.rules\n become: yes\n",
"license_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 222,
"all_permissive": false
} |
ansible_role | nobuto-m/dotfiles | 006179d5dfc4d16c39fefb5ea8d923b4f831fb29 | 3 | roles/restore | 7,710 | [
"no_license"
] | [
{
"path": "roles/restore/tasks/main.yml",
"content": "---\n- name: restore files at home\n copy:\n src: \"{{ item }}\"\n dest: ~/\n mode: \"go-rwx\"\n backup: yes\n with_fileglob:\n - \"~/backup{{ ansible_env.HOME }}/*\"\n\n- name: restore some dot directories\n copy:\n src: ~/backup{{ ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 393,
"all_permissive": false
} |
ansible_role | nobuto-m/dotfiles | 006179d5dfc4d16c39fefb5ea8d923b4f831fb29 | 3 | roles/user | 7,710 | [
"no_license"
] | [
{
"path": "roles/user/templates/firefox_user.js.j2",
"content": "//\n\n// experimental\n//user_pref(\"gfx.webrender.all\", true);\n//user_pref(\"gfx.webrender.compositor\", true);\n// unavailable by runtime: Wayland support missing\n//user_pref(\"gfx.webrender.compositor.force-enabled\", true);\n//user_pref... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 21,
"total_bytes": 27584,
"all_permissive": false
} |
ansible_role | huuhait/.dotfiles | 91b49aa197a5f6b61a5512690c2fc46ca96e71f3 | 0 | roles/desktop | 7,710 | [
"no_license"
] | [
{
"path": "roles/desktop/files/.scripts/idle",
"content": "#!/bin/bash\n\nlockcmd=\"swaylock --screenshots --clock --indicator-idle-visible --indicator-radius 100 --indicator-thickness 7 --ignore-empty-password --ring-color 53E2AE --ring-ver-color 53E2AE --ring-wrong-color EE4F84 --key-hl-color EE4F84 --tex... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 13,
"total_bytes": 12823,
"all_permissive": false
} |
ansible_role | prateekpatel/Ansible | c402b5e97083ba4202bbddd380e463c96e0e368f | 1 | Roles/roles/Krast76.common | 7,710 | [
"no_license"
] | [
{
"path": "Roles/roles/Krast76.common/templates/sources.list.j2",
"content": "# \n\n# deb cdrom:[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 NETINST Binary-1 20150110-14:41]/ wheezy main\n\n#deb cdrom:[Debian GNU/Linux 7.8.0 _Wheezy_ - Official amd64 NETINST Binary-1 20150110-14:41]/ wheezy main\n\ndeb... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 2007,
"all_permissive": false
} |
ansible_role | prateekpatel/Ansible | c402b5e97083ba4202bbddd380e463c96e0e368f | 1 | Roles/roles/debian_webservers | 7,710 | [
"no_license"
] | [
{
"path": "Roles/roles/debian_webservers/vars/main.yml",
"content": "copyright_msg: Copyright2017\nredhat_apache: httpd\ndebian_apache: apache2\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 73
},
{
"path": "Roles/roles/debian_webservers/tasks/main.yml",
"co... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 514,
"all_permissive": false
} |
ansible_role | prateekpatel/Ansible | c402b5e97083ba4202bbddd380e463c96e0e368f | 1 | Roles/roles/linuxacademy.role | 7,710 | [
"no_license"
] | [
{
"path": "Roles/roles/linuxacademy.role/tests/test.yml",
"content": "---\n- hosts: localhost\n remote_user: root\n become: yes\n roles:\n - common\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 79
},
{
"path": "Roles/roles/linuxacademy.role/tasks/CentOS.y... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 2641,
"all_permissive": false
} |
ansible_role | prateekpatel/Ansible | c402b5e97083ba4202bbddd380e463c96e0e368f | 1 | Roles/roles/testrole | 7,710 | [
"no_license"
] | [
{
"path": "Roles/roles/testrole/handlers/main.yml",
"content": "- name: Start HTTD\n service: name=httpd state=restarted\n when: \"ansible_os_family == 'RedHat'\"\n ignore_errors: yes\n- name: Restart Apache2\n service: name={{ debian_apache }} state=restarted\n when: \"ansible_os_family == 'Debian'\"\... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 947,
"all_permissive": false
} |
ansible_role | robtec/osx-playbook | 97f7589187395d0e74817ee653d1632bf63a06c5 | 0 | roles/fish | 7,710 | [
"permissive"
] | [
{
"path": "roles/fish/tasks/main.yml",
"content": "---\n# Install fish interactive shell (https://fishshell.com)\n\n- name: Install fish terminal\n homebrew: name=fish state=latest\n\n- name: Add Fish to /etc/shells\n lineinfile: dest=/etc/shells line='/usr/local/bin/fish'\n become: yes\n\n- name: Make F... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 426,
"all_permissive": true
} |
ansible_role | robtec/osx-playbook | 97f7589187395d0e74817ee653d1632bf63a06c5 | 0 | roles/golang | 7,710 | [
"permissive"
] | [
{
"path": "roles/golang/defaults/main.yml",
"content": "---\ngolang_version: \"1.10\"\ngolang_release: \"https://storage.googleapis.com/golang/go{{ golang_version }}.darwin-amd64.tar.gz\"\ngolang_download_file: \"go{{ golang_version }}.darwin-amd64.tar.gz\"",
"license_type": "permissive",
"detected_... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1051,
"all_permissive": true
} |
ansible_role | robtec/osx-playbook | 97f7589187395d0e74817ee653d1632bf63a06c5 | 0 | roles/homebrew | 7,710 | [
"permissive"
] | [
{
"path": "roles/homebrew/tasks/main.yml",
"content": "---\n# Install homebrew (http://brew.sh/)\n\n- stat: path=/usr/local/bin/brew\n register: brew\n\n- name: Install homebrew\n raw: /usr/bin/ruby -e \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)\"\n when: brew.stat.e... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 257,
"all_permissive": true
} |
ansible_role | ZetIxzet/sys-diplom | 115a548d39a5d7254b94d31d13dd45e987e3032a | 0 | diplom/ansible/roles/elasticsearch | 7,710 | [
"no_license"
] | [
{
"path": "diplom/ansible/roles/elasticsearch/tasks/main.yml",
"content": "---\n- name: ping server\n ping:\n\n- name: Update apt cache\n apt:\n update_cache: yes\n\n- name: Install gnupg, apt-transport-https\n apt:\n name:\n - apt-transport-https\n - gnupg\n state: present\n\n- name: ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 855,
"all_permissive": false
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.