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
dusansimic/monitor-infra-vagrant
5c64b25081fc9319f0dbc6cb2ca0aec6d3fd9369
0
ansible/roles/docker
252
[ "no_license" ]
[ { "path": "ansible/roles/docker/tasks/main.yml", "content": "---\n\n- name: Add repository\n ansible.builtin.get_url:\n url: https://download.docker.com/linux/centos/docker-ce.repo\n dest: /etc/yum.repos.d/docker-ce.repo\n mode: u=rw,g=r,o=r\n owner: root\n group: root\n checksum: sha256:...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 815, "all_permissive": false }
ansible_role
dusansimic/monitor-infra-vagrant
5c64b25081fc9319f0dbc6cb2ca0aec6d3fd9369
0
ansible/roles/exporter_dcgm
252
[ "no_license" ]
[ { "path": "ansible/roles/exporter_dcgm/vars/main.yml", "content": "---\n\nexporter_dcgm_user: dcgm_exporter\nexporter_dcgm_group: dcgm_exporter\n\nexporter_dcgm_dcgm_version: 3.3.6\nexporter_dcgm_exporter_version: 3.4.2\n\nexporter_dcgm_binary_path: /usr/local/bin\nexporter_dcgm_binary_name: dcgm_exporter\n...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 3, "total_bytes": 2569, "all_permissive": false }
ansible_role
dusansimic/monitor-infra-vagrant
5c64b25081fc9319f0dbc6cb2ca0aec6d3fd9369
0
ansible/roles/exporter_disk_usage
252
[ "no_license" ]
[ { "path": "ansible/roles/exporter_disk_usage/handlers/main.yml", "content": "---\n\n- name: Restart disk_usage_exporter\n ansible.builtin.systemd:\n daemon_reload: true\n name: \"{{ exporter_disk_usage_binary_name }}\"\n state: restarted\n enabled: true\n", "license_type": "no_license", ...
{ "task_files": 1, "has_defaults": false, "has_handlers": true, "has_templates": true }
{ "file_count": 5, "total_bytes": 3545, "all_permissive": false }
ansible_role
dusansimic/monitor-infra-vagrant
5c64b25081fc9319f0dbc6cb2ca0aec6d3fd9369
0
ansible/roles/exporter_node
252
[ "no_license" ]
[ { "path": "ansible/roles/exporter_node/templates/node_exporter.service.j2", "content": "[Unit]\nDescription=Node Exporter\nRequires={{ exporter_node_binary_name }}.socket\n\n[Service]\nUser={{ exporter_node_user }}\nEnvironmentFile=/etc/sysconfig/{{ exporter_node_binary_name }}\nExecStart=/usr/local/bin/{{ ...
{ "task_files": 1, "has_defaults": false, "has_handlers": true, "has_templates": true }
{ "file_count": 5, "total_bytes": 3091, "all_permissive": false }
ansible_role
dusansimic/monitor-infra-vagrant
5c64b25081fc9319f0dbc6cb2ca0aec6d3fd9369
0
ansible/roles/monitoring_host
252
[ "no_license" ]
[ { "path": "ansible/roles/monitoring_host/vars/main.yml", "content": "---\n\nmonitoring_host_prometheus_image_tag: v2.53.0\nmonitoring_host_prometheus_data_path: /var/lib/prometheus\nmonitoring_host_prometheus_config_path: /usr/lib/prometheus\nmonitoring_host_prometheus_host_port: \"9090\"\n\nmonitoring_host...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 4, "total_bytes": 5361, "all_permissive": false }
ansible_role
lfventura/devops-assignment
903a0a2c56d28cb0aa7d6d4cccac30e00f42b0d9
0
task/roles/web
252
[ "no_license" ]
[ { "path": "task/roles/web/templates/php/php-cli.j2", "content": "{% for item in php_ini_overrides %}\n{{ item }}\n{% endfor %}\n{% for item in php_cli_ini_overrides %}\n{{ item }}\n{% endfor %}\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 124 }, { "path": "tas...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 3, "total_bytes": 2477, "all_permissive": false }
ansible_role
manriquecms/myriad-vagrant
9c0bdacce3a77cecb8f191564334032fe568be10
0
mesos/provisioning/roles/devel
252
[ "no_license" ]
[ { "path": "mesos/provisioning/roles/devel/handlers/main.yml", "content": "#\n# This tasks can spend a lot of time, you have\n# to take this into account.\n#\n- name: Restart NFS Server\n service: name=nfs-server state=restarted\n\n\n \n \n", "license_type": "no_license", "detected_licenses": [], ...
{ "task_files": 1, "has_defaults": false, "has_handlers": true, "has_templates": false }
{ "file_count": 2, "total_bytes": 1356, "all_permissive": false }
ansible_role
manriquecms/myriad-vagrant
9c0bdacce3a77cecb8f191564334032fe568be10
0
mesos/provisioning/roles/dfs-start
252
[ "no_license" ]
[ { "path": "mesos/provisioning/roles/dfs-start/tasks/main.yml", "content": "---\n- name: Format Hadoop filesystem\n shell : \"source /etc/profile.d/java.sh && {{ nfs_shared_folder }}/hadoop/bin/hdfs namenode -format && touch .skipformat\"\n become: yes\n become_user: hdfs\n args:\n creates: .skipfor...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 509, "all_permissive": false }
ansible_role
manriquecms/myriad-vagrant
9c0bdacce3a77cecb8f191564334032fe568be10
0
mesos/provisioning/roles/docker
252
[ "no_license" ]
[ { "path": "mesos/provisioning/roles/docker/tasks/main.yml", "content": "---\n- name: Setup OverlayFS storage driver automatic loading\n lineinfile: \n dest: /etc/modules-load.d/overlay.conf\n create: yes\n state: present\n line: overlay\n\n- name: Load overlay kernel module (avoiting reboot)\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1275, "all_permissive": false }
ansible_role
manriquecms/myriad-vagrant
9c0bdacce3a77cecb8f191564334032fe568be10
0
mesos/provisioning/roles/hadoop
252
[ "no_license" ]
[ { "path": "mesos/provisioning/roles/hadoop/tasks/namenode.yml", "content": "---\n- name: Create Hadoop group\n group:\n name: hadoop\n state: present\n tags: hadoop\n\n- name: Create Hadoop users\n user: \n name: \"{{ item }}\"\n password: \"{{ '<PASSWORD>' | password_hash('<PASSWORD>') }}\"\...
{ "task_files": 4, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 5, "total_bytes": 3009, "all_permissive": false }
ansible_role
manriquecms/myriad-vagrant
9c0bdacce3a77cecb8f191564334032fe568be10
0
mesos/provisioning/roles/nfs-client
252
[ "no_license" ]
[ { "path": "mesos/provisioning/roles/nfs-client/tasks/main.yml", "content": "---\n- name: Create NFS mount point\n file:\n path: \"{{ nfs_shared_folder }}\"\n state: directory\n\n- name: Mount NFS shared folder\n mount:\n path: \"{{ nfs_shared_folder }}\"\n src: \"build:{{ nfs_shared_folder }}\...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 255, "all_permissive": false }
ansible_role
manriquecms/myriad-vagrant
9c0bdacce3a77cecb8f191564334032fe568be10
0
mesos/provisioning/roles/passwordless
252
[ "no_license" ]
[ { "path": "mesos/provisioning/roles/passwordless/tasks/master.yml", "content": "---\n- name: Create hdfs .ssh folder\n file:\n path: /home/hdfs/.ssh\n state: directory\n owner: hdfs\n group: hadoop\n mode: 0700\n tags: hadoop\n\n- name: Generate RSA key-pair for hdfs user passwordless\n sh...
{ "task_files": 3, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 3, "total_bytes": 2179, "all_permissive": false }
ansible_role
manriquecms/myriad-vagrant
9c0bdacce3a77cecb8f191564334032fe568be10
0
mesos/provisioning/roles/yarn-start
252
[ "no_license" ]
[ { "path": "mesos/provisioning/roles/yarn-start/tasks/main.yml", "content": "---\n- name: Start Yarn cluster\n shell : \"source /etc/profile.d/java.sh && {{ nfs_shared_folder }}/hadoop/sbin/start-yarn.sh && touch .skipstartyarn\"\n become: yes\n become_user: yarn\n args:\n creates: .skipstartyarn\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 256, "all_permissive": false }
ansible_role
manriquecms/myriad-vagrant
9c0bdacce3a77cecb8f191564334032fe568be10
0
mesos/provisioning/roles/zookeeper
252
[ "no_license" ]
[ { "path": "mesos/provisioning/roles/zookeeper/tasks/main.yml", "content": "---\n- name: Check that you can connect (GET) to a page and it returns a status 200\n uri:\n url: \"{{ zookeeper_binary_download_url }}\"\n tags: download_zookeeper\n\n- name: Download Zookeeper binary from Apache releases\n ge...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1010, "all_permissive": false }
ansible_role
giovannibaratta/Code-challenge
4dc925c9384df7fb919aee83a020605c635bb1d2
0
ansible_controller/ansible/roles/create_fs
252
[ "no_license" ]
[ { "path": "ansible_controller/ansible/roles/create_fs/tasks/main.yml", "content": "---\n- name: \"Load vars\"\n include_vars: main.yml\n\n- name: \"Make file system\"\n filesystem:\n fstype: ext4\n dev: \"{{ device_path }}\"\n\n- name: \"Mount extra drive\"\n mount:\n state: mounted\n fstype:...
{ "task_files": 1, "has_defaults": true, "has_handlers": true, "has_templates": false }
{ "file_count": 5, "total_bytes": 539, "all_permissive": false }
ansible_role
giovannibaratta/Code-challenge
4dc925c9384df7fb919aee83a020605c635bb1d2
0
ansible_controller/ansible/roles/docker_hardening
252
[ "no_license" ]
[ { "path": "ansible_controller/ansible/roles/docker_hardening/handlers/main.yml", "content": "---\n# handlers file for docker_hardening\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 41 }, { "path": "ansible_controller/ansible/roles/docker_hardening/tests/test.ym...
{ "task_files": 1, "has_defaults": true, "has_handlers": true, "has_templates": false }
{ "file_count": 5, "total_bytes": 5304, "all_permissive": false }
ansible_role
giovannibaratta/Code-challenge
4dc925c9384df7fb919aee83a020605c635bb1d2
0
aws/ansible/roles/aws_ec2_deploy
252
[ "no_license" ]
[ { "path": "aws/ansible/roles/aws_ec2_deploy/defaults/main.yml", "content": "---\n# defaults file for aws_ec2_deploy\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 39 }, { "path": "aws/ansible/roles/aws_ec2_deploy/tasks/main.yml", "content": "---\n- name: \"L...
{ "task_files": 1, "has_defaults": true, "has_handlers": true, "has_templates": true }
{ "file_count": 7, "total_bytes": 10691, "all_permissive": false }
ansible_role
giovannibaratta/Code-challenge
4dc925c9384df7fb919aee83a020605c635bb1d2
0
aws/ansible/roles/aws_network_deploy
252
[ "no_license" ]
[ { "path": "aws/ansible/roles/aws_network_deploy/handlers/main.yml", "content": "---\n# handlers file for aws_network_deploy\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 43 }, { "path": "aws/ansible/roles/aws_network_deploy/defaults/main.yml", "content": "-...
{ "task_files": 1, "has_defaults": true, "has_handlers": true, "has_templates": true }
{ "file_count": 6, "total_bytes": 6860, "all_permissive": false }
ansible_role
serdarjan1995/ansible-openvpn-install
ec183b5e19d44e389a196c716676419ea97ad761
0
roles/vpnservers
252
[ "no_license" ]
[ { "path": "roles/vpnservers/files/make_openvpn_config.py", "content": "#!/usr/bin/python3\nimport argparse\n\nSCRIPT_DESC = \"Python script to create openvpn config\"\n\nSERVER_CONFIG_TEMP = \"\"\"port {port}\nproto {protocol}\ndev tun\nca ca.crt\ncert server.crt\nkey server.key\ndh dh.pem\ntls-auth ta.key ...
{ "task_files": 2, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 7, "total_bytes": 23039, "all_permissive": false }
ansible_role
PricePlan/pp-cluster-deployment
f00e8dd82cc20b4578e838a16a9558e16f2049f4
1
roles/ansible
252
[ "no_license" ]
[ { "path": "roles/ansible/tasks/main.yaml", "content": "# Tasks of 'ansible' role\n---\n- block:\n - name: ensure necessary packages present\n apt:\n pkg: '{{ ansible_dependency_packages }}'\n update_cache: yes\n cache_valid_time: 3600\n\n - name: ensure PVEs home exits\n file: path='{...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 2657, "all_permissive": false }
ansible_role
PricePlan/pp-cluster-deployment
f00e8dd82cc20b4578e838a16a9558e16f2049f4
1
roles/docker
252
[ "no_license" ]
[ { "path": "roles/docker/meta/main.yaml", "content": "# Dependencies of 'docker' role\n---\ndependencies:\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 50 }, { "path": "roles/docker/tasks/main.yaml", "content": "- name: start to ensure docker-ce installed\n ...
{ "task_files": 3, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 5, "total_bytes": 3969, "all_permissive": false }
ansible_role
PricePlan/pp-cluster-deployment
f00e8dd82cc20b4578e838a16a9558e16f2049f4
1
roles/haproxy
252
[ "no_license" ]
[ { "path": "roles/haproxy/templates/haproxy.cfg.j2", "content": "#---------------------------------------------------------------------\n# See the full configuration options online.\n#\n# https://www.haproxy.org/download/1.8/doc/configuration.txt\n#\n#-------------------------------------------------------...
{ "task_files": 1, "has_defaults": true, "has_handlers": true, "has_templates": true }
{ "file_count": 6, "total_bytes": 9444, "all_permissive": false }
ansible_role
PricePlan/pp-cluster-deployment
f00e8dd82cc20b4578e838a16a9558e16f2049f4
1
roles/locales
252
[ "no_license" ]
[ { "path": "roles/locales/tasks/main.yml", "content": "---\n\n- block:\n - name: ensure glibc-langpacks installed\n dnf:\n name: '{{ item }}'\n loop:\n - glibc-langpack-en\n - glibc-langpack-ru\n when: ansible_os_family == 'RedHat' and\n ansible_distribution_major_version >=...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 286, "all_permissive": false }
ansible_role
PricePlan/pp-cluster-deployment
f00e8dd82cc20b4578e838a16a9558e16f2049f4
1
roles/ntp
252
[ "no_license" ]
[ { "path": "roles/ntp/tasks/main.yml", "content": "# tasks file for ntp\n---\n- block:\n - name: install chrony package\n package:\n name: chrony\n state: present\n tags:\n - ntp_install\n when: ansible_os_family == 'RedHat' and\n ansible_distribution_major_version >= '8'\n\...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 424, "all_permissive": false }
ansible_role
PricePlan/pp-cluster-deployment
f00e8dd82cc20b4578e838a16a9558e16f2049f4
1
roles/patroni
252
[ "no_license" ]
[ { "path": "roles/patroni/defaults/main.yml", "content": "# defaults file for patroni\n---\npatroni_config_dir: /etc/patroni\npatroni_pve: '{{ pves_home }}/patroni'\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 104 }, { "path": "roles/patroni/vars/main.yaml", ...
{ "task_files": 2, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 6, "total_bytes": 7700, "all_permissive": false }
ansible_role
PricePlan/pp-cluster-deployment
f00e8dd82cc20b4578e838a16a9558e16f2049f4
1
roles/pgbouncer
252
[ "no_license" ]
[ { "path": "roles/pgbouncer/tasks/main.yaml", "content": "- block:\n - name: ensure EPEL repo installed\n dnf:\n name: epel-release\n state: present\n tags:\n - epel_install\n\n - name: ensure PgBouncer package installed\n dnf:\n name: pgbouncer\n state: present\n tags:...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 3, "total_bytes": 6646, "all_permissive": false }
ansible_role
PricePlan/pp-cluster-deployment
f00e8dd82cc20b4578e838a16a9558e16f2049f4
1
roles/postgresql
252
[ "no_license" ]
[ { "path": "roles/postgresql/tasks/main.yaml", "content": "# tasks file for postgres\n---\n- name: start to ensure postgres installed\n include_tasks: centos-8.yaml\n when: ansible_distribution == 'CentOS' and\n ansible_distribution_major_version == '8'\n tags:\n - postgres\n", "license_type...
{ "task_files": 2, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 1285, "all_permissive": false }
ansible_role
PricePlan/pp-cluster-deployment
f00e8dd82cc20b4578e838a16a9558e16f2049f4
1
roles/postgresql-databases
252
[ "no_license" ]
[ { "path": "roles/postgresql-databases/tasks/main.yaml", "content": "- name: ensure PostgreSQL databases are present\n become: true\n become_user: postgres\n postgresql_db:\n name: '{{ item.db }}'\n owner: '{{ item.owner }}'\n encoding: '{{ item.encoding | default(\"UTF-8\") }}'\n lc_collate: ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 570, "all_permissive": false }
ansible_role
PricePlan/pp-cluster-deployment
f00e8dd82cc20b4578e838a16a9558e16f2049f4
1
roles/postgresql-users
252
[ "no_license" ]
[ { "path": "roles/postgresql-users/tasks/main.yaml", "content": "- name: ensure necessary PostgreSQL users are present\n become: true\n become_user: postgres\n postgresql_user:\n name: '{{ item.name }}'\n password: '{{ <PASSWORD> }}'\n # encrypted: true\n # login_unix_socket: \"{{ postgresql_u...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 543, "all_permissive": false }
ansible_role
PricePlan/pp-cluster-deployment
f00e8dd82cc20b4578e838a16a9558e16f2049f4
1
roles/priceplan
252
[ "no_license" ]
[ { "path": "roles/priceplan/tasks/start.yaml", "content": "- name: run {{ taget_container_desc }}\n docker_container:\n name: '{{ taget_container_name }}'\n image: '{{ pp_image_name }}'\n # pull: '{{ docker_pull }}'\n state: started\n recreate: yes\n\n log_driver: '{{ pp_log_driver }}'\n ...
{ "task_files": 2, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 4, "total_bytes": 9814, "all_permissive": false }
ansible_role
PricePlan/pp-cluster-deployment
f00e8dd82cc20b4578e838a16a9558e16f2049f4
1
roles/timezone
252
[ "no_license" ]
[ { "path": "roles/timezone/tasks/main.yml", "content": "---\n- name: Set timezone to \"{{ timezone }}\"\n become: true\n timezone:\n name: '{{ timezone }}'\n when: timezone is defined and timezone | length > 0\n tags:\n - timezone\n", "license_type": "no_license", "detected_licenses": [], ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 176, "all_permissive": false }
ansible_role
PricePlan/pp-cluster-deployment
f00e8dd82cc20b4578e838a16a9558e16f2049f4
1
roles/transparent_huge_pages
252
[ "no_license" ]
[ { "path": "roles/transparent_huge_pages/tasks/main.yml", "content": "---\n- block:\n - name: ensure systemd \"disable-transparent-huge-pages.service\" is up to date\n template:\n src: disable-transparent-huge-pages.service.j2\n dest: /etc/systemd/system/disable-transparent-huge-pages.service\n...
{ "task_files": 1, "has_defaults": false, "has_handlers": true, "has_templates": false }
{ "file_count": 2, "total_bytes": 702, "all_permissive": false }
ansible_role
martynjarvis/web-app-thing
d7ce886a2d035ab7c7d7929bd57a1d985d8f8d37
2
provisioning/roles/app
252
[ "no_license" ]
[ { "path": "provisioning/roles/app/tasks/main.yml", "content": "---\n# file: roles/app/tasks/main.yml\n\n- name: create www dir\n file:\n path: /var/www\n state: directory\n owner: www-data\n group: www-data\n sudo: yes\n\n- name: create app dir\n file:\n path: /var/www/app\n state: dire...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 985, "all_permissive": false }
ansible_role
martynjarvis/web-app-thing
d7ce886a2d035ab7c7d7929bd57a1d985d8f8d37
2
provisioning/roles/celery
252
[ "no_license" ]
[ { "path": "provisioning/roles/celery/handlers/main.yml", "content": "---\n\n- name: restart celery\n service: name=celery state=restarted\n sudo: yes\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 79 }, { "path": "provisioning/roles/celery/tasks/main.yml", ...
{ "task_files": 1, "has_defaults": false, "has_handlers": true, "has_templates": false }
{ "file_count": 2, "total_bytes": 403, "all_permissive": false }
ansible_role
martynjarvis/web-app-thing
d7ce886a2d035ab7c7d7929bd57a1d985d8f8d37
2
provisioning/roles/common
252
[ "no_license" ]
[ { "path": "provisioning/roles/common/tasks/main.yml", "content": "---\n# file: roles/common/tasks/main.yml\n- name: update cache\n apt: update_cache=yes cache_valid_time=3600\n sudo: yes\n\n- name: install curl\n apt: name=curl state=present\n sudo: yes\n\n- name: install git\n apt: name=git state=pres...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 738, "all_permissive": false }
ansible_role
martynjarvis/web-app-thing
d7ce886a2d035ab7c7d7929bd57a1d985d8f8d37
2
provisioning/roles/nginx
252
[ "no_license" ]
[ { "path": "provisioning/roles/nginx/tasks/main.yml", "content": "---\n\n- name: install nginx\n apt: name=nginx\n sudo: yes\n notify:\n - restart nginx\n\n- name: enable nginx service\n service:\n name: nginx\n enabled: yes\n\n- name: deploy nginx config\n copy:\n src: flask_nginx.conf\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 677, "all_permissive": false }
ansible_role
martynjarvis/web-app-thing
d7ce886a2d035ab7c7d7929bd57a1d985d8f8d37
2
provisioning/roles/redis
252
[ "no_license" ]
[ { "path": "provisioning/roles/redis/tasks/main.yml", "content": "---\n\n- name: check redis installation\n command: redis-server --version\n ignore_errors: yes\n changed_when: False\n register: redis_version\n\n- name: download redis source\n get_url:\n url: http://download.redis.io/releases/redis-3....
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 829, "all_permissive": false }
ansible_role
martynjarvis/web-app-thing
d7ce886a2d035ab7c7d7929bd57a1d985d8f8d37
2
provisioning/roles/uwsgi
252
[ "no_license" ]
[ { "path": "provisioning/roles/uwsgi/tasks/main.yml", "content": "---\n\n- name: install uwsgi\n pip: name=uwsgi\n sudo: yes\n\n- name: deploy uwsgi config\n copy:\n src: uwsgi.conf\n dest: /etc/init/uwsgi.conf\n mode: 0644\n sudo: yes\n\n- name: enable uwsgi service\n service:\n name: uwsgi...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 278, "all_permissive": false }
ansible_role
joos-net/my_own_collection
88ec1a36af4b409c11e069fe31d15c9565868995
0
roles/create_file
252
[ "no_license" ]
[ { "path": "roles/create_file/defaults/main.yml", "content": "---\n# defaults file for create_file\npath: \"/tmp/test.txt\"\ncontent: \"Something\"", "license_type": "no_license", "detected_licenses": [], "size_bytes": 78 }, { "path": "roles/create_file/tasks/main.yml", "content": "--...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 206, "all_permissive": false }
ansible_role
morro-wind/specter
9ae4ec739a9249f4afe00c9a9ffa951c67a70576
0
ansible-playbook/roles/app-compose
252
[ "no_license" ]
[ { "path": "ansible-playbook/roles/app-compose/defaults/main.yml", "content": "---\n# Environmnet repos\nenv_repos: hub.example.com\n\n# Volume mount\nvolume_src: \"/data/logs/{{ app_name }}\"\nvolume_dest: \"/opt/{{ project_name }}/{{ app_name }}/logs\"\n\n# Environment file\nenv_file:\n\n# Image version\nv...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 1377, "all_permissive": false }
ansible_role
chiraz-GH/fyc_project
a57c94ae0d28cd8aaf7d27ea456d2b1143172c49
0
roles/Interface-Vlan
253
[ "no_license" ]
[ { "path": "roles/Interface-Vlan/tasks/main.yml", "content": "---\n# tasks file for roles/Interface-Vlan\n- name: BUILD CONFIG Interface VLan\n template:\n src: Interface_Vlan.j2\n dest: \"{{ configs_dir }}/{{ inventory_hostname }}/Interface_Vlan.cfg\"\n\n- name: PUSH CONFIG\n ios_config:\n src: \...
{ "task_files": 1, "has_defaults": true, "has_handlers": true, "has_templates": true }
{ "file_count": 6, "total_bytes": 714, "all_permissive": false }
ansible_role
chiraz-GH/fyc_project
a57c94ae0d28cd8aaf7d27ea456d2b1143172c49
0
roles/Port-TRUNK
253
[ "no_license" ]
[ { "path": "roles/Port-TRUNK/templates/Port-TRUNK.j2", "content": "{% for int in interfaces_trunk %}\ninterface {{int['name']}}\n switchport trunk encapsulation dot1q\n switchport trunk allowed vlan {{int['allowed_vlans']}}\n switchport mode {{int['mode']}}\n{% endfor %}\n", "license_type": "no_licens...
{ "task_files": 1, "has_defaults": true, "has_handlers": true, "has_templates": true }
{ "file_count": 6, "total_bytes": 676, "all_permissive": false }
ansible_role
chiraz-GH/fyc_project
a57c94ae0d28cd8aaf7d27ea456d2b1143172c49
0
roles/Port-access
253
[ "no_license" ]
[ { "path": "roles/Port-access/templates/Port-access.j2", "content": "#jinja2: lstrip_blocks: \"true\"\n{% for int in interfaces_access %}\ninterface {{int['name']}}\n switchport mode {{int['mode']}}\n switchport access vlan {{int['vlan']}}\n \n{% endfor %}\n", "license_type": "no_license", "detect...
{ "task_files": 1, "has_defaults": true, "has_handlers": true, "has_templates": true }
{ "file_count": 6, "total_bytes": 665, "all_permissive": false }
ansible_role
chiraz-GH/fyc_project
a57c94ae0d28cd8aaf7d27ea456d2b1143172c49
0
roles/Vlan
253
[ "no_license" ]
[ { "path": "roles/Vlan/tasks/main.yml", "content": "---\n# tasks file for roles/Vlan\n- name: Genarate config vlan\n template:\n src=Vlan.j2\n dest=\"{{ configs_dir }}/{{ inventory_hostname }}/Vlan.cfg\"\n\n\n- name: PUSH CONFIG\n ios_config:\n src: \"{{ configs_dir }}/{{ inventory_hostname }}/Vla...
{ "task_files": 1, "has_defaults": false, "has_handlers": true, "has_templates": true }
{ "file_count": 3, "total_bytes": 361, "all_permissive": false }
ansible_role
sknrao/tapiclient
d174873094495fe54dcdf6245705d3f1e50c2d91
0
tapiclient/roles/tapiinfra
253
[ "no_license" ]
[ { "path": "tapiclient/roles/tapiinfra/defaults/main.yml", "content": "---\n# general\nprefix: /data\ntmp_dir: /tmp\nproject: xtesting\nipaddress: \"{{ ansible_default_ipv4.address }}\"\ndb_project: \"{{ project }}\"\nexternal_ipaddress: \"{{ ipaddress }}\"\nmongo_docker_image: mongo\nmongo_docker_tag: 4.4\n...
{ "task_files": 1, "has_defaults": true, "has_handlers": true, "has_templates": false }
{ "file_count": 3, "total_bytes": 2274, "all_permissive": false }
ansible_role
sknrao/tapiclient
d174873094495fe54dcdf6245705d3f1e50c2d91
0
tapiclient/roles/tapisetup
253
[ "no_license" ]
[ { "path": "tapiclient/roles/tapisetup/defaults/main.yml", "content": "---\n# general\nprefix: /data\ntmp_dir: /tmp\nproject: xtesting\nipaddress: \"{{ ansible_default_ipv4.address }}\"\ndb_project: \"{{ project }}\"\nexternal_ipaddress: \"{{ ipaddress }}\"\nmongo_docker_image: mongo\nmongo_docker_tag: 4.4\n...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 6649, "all_permissive": false }
ansible_role
Divyakove/ansible-playbooks
d6f93cc5c11970a0f4ba88c46b50ceebd787d025
0
docker/roles/docker
253
[ "no_license" ]
[ { "path": "docker/roles/docker/tasks/main.yml", "content": "- name: Remove legacy docker packages\n yum:\n name: \"{{ packages }}\"\n state: absent\n vars:\n packages:\n - docker\n - docker-client \n - docker-client-latest\n - docker-common\n - docker-latest\n - docker-latest-lo...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1189, "all_permissive": false }
ansible_role
Divyakove/ansible-playbooks
d6f93cc5c11970a0f4ba88c46b50ceebd787d025
0
docker/roles/docker-amazon
253
[ "no_license" ]
[ { "path": "docker/roles/docker-amazon/tasks/main.yml", "content": "- name: Update packages\n yum: \n name: '*'\n state: latest\n update_cache: yes\n\n- name: Install docker\n shell: sudo amazon-linux-extras install -y docker\n\n- name: Start docker\n service: \n name: docker\n state: start...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 249, "all_permissive": false }
ansible_role
3picF4iL/rpi-multiservice
64199cbb4e5aaf24e046d3d268712388118552d7
0
ansible/roles/jellyfin
253
[ "no_license" ]
[ { "path": "ansible/roles/jellyfin/tasks/main.yaml", "content": "---\n- name: Jellyfin installation\n block:\n - name: Add Jellyfin GPG key and repository\n block:\n - name: Add Jellyfin GPG key\n ansible.builtin.apt_key:\n url: https://repo.jellyfin.org/debian/jellyfin_te...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 2865, "all_permissive": false }
ansible_role
3picF4iL/rpi-multiservice
64199cbb4e5aaf24e046d3d268712388118552d7
0
ansible/roles/qbittorrent
253
[ "no_license" ]
[ { "path": "ansible/roles/qbittorrent/tasks/main.yaml", "content": "---\n- name: Qbittorrent service installation\n become: true\n block:\n - name: Install qbittorrent (nox) packages\n ansible.builtin.apt:\n name: qbittorrent-nox\n state: present\n update_cache: true\n\n - n...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 2548, "all_permissive": false }
ansible_role
3picF4iL/rpi-multiservice
64199cbb4e5aaf24e046d3d268712388118552d7
0
ansible/roles/system_config
253
[ "no_license" ]
[ { "path": "ansible/roles/system_config/tasks/main.yaml", "content": "---\n- name: System update\n block:\n - name: Update list of the packages\n ansible.builtin.apt:\n update_cache: true\n\n - name: Upgrade packages\n ansible.builtin.apt:\n upgrade: \"yes\"\n state: lat...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 1805, "all_permissive": false }
ansible_role
3j0s/kubernetes
1bd35fff41b8de522bec7ec5cf0b593e751dfd08
0
roles/docker
253
[ "no_license" ]
[ { "path": "roles/docker/vars/main.yml", "content": "user_admin: ejos\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 17 }, { "path": "roles/docker/tasks/service.yml", "content": "---\n- name: Enabling docker service\n systemd: name={{ item }} enabled=yes\n ...
{ "task_files": 2, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 4, "total_bytes": 858, "all_permissive": false }
ansible_role
3j0s/kubernetes
1bd35fff41b8de522bec7ec5cf0b593e751dfd08
0
roles/etcd
253
[ "no_license" ]
[ { "path": "roles/etcd/tasks/service.yml", "content": "---\n- name: Make sure ntpd service is enabled\n systemd: \n name: ntpd\n enabled: yes\n\n- name: reload service ntpd, in all cases\n systemd:\n name: ntpd\n state: restarted\n\n- name: Make sure etcd service is enabled\n systemd: \n ...
{ "task_files": 2, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 3, "total_bytes": 728, "all_permissive": false }
ansible_role
3j0s/kubernetes
1bd35fff41b8de522bec7ec5cf0b593e751dfd08
0
roles/flannel
253
[ "no_license" ]
[ { "path": "roles/flannel/tasks/service.yml", "content": "---\n\n- name: Replacing Flannel argument\n replace:\n dest: /etc/sysconfig/flanneld\n replace: 'FLANNEL_ETCD_ENDPOINTS=\"http://127.0.0.1:2379\"'\n regexp: 'FLANNEL_ETCD_ENDPOINTS=\"http://{{ ansible_default_ipv4.address }}:2379\"'\n bac...
{ "task_files": 2, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 808, "all_permissive": false }
ansible_role
3j0s/kubernetes
1bd35fff41b8de522bec7ec5cf0b593e751dfd08
0
roles/kubernetes
253
[ "no_license" ]
[ { "path": "roles/kubernetes/files/web/webdon01_service.yaml", "content": "apiVersion: v1\nkind: Service\nmetadata:\n labels:\n name: webdon01service\n name: webdon01service\nspec:\n ports:\n # The port that this service should serve on.\n - port: 80\n # Label keys and values that must match in ...
{ "task_files": 8, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 14, "total_bytes": 9341, "all_permissive": false }
ansible_role
3j0s/kubernetes
1bd35fff41b8de522bec7ec5cf0b593e751dfd08
0
roles/master
253
[ "no_license" ]
[ { "path": "roles/master/tasks/builaufpkg.yml", "content": "---\n- name: Copy kernel-lt-aufs.repo from spaceduck repo\n copy: src=kernel-lt-aufs.repo dest=/etc/yum.repos.d/\n\n- name: Copy kernel-ml-aufs.repo from spaceduck repo\n copy: src=kernel-ml-aufs.repo dest=/etc/yum.repos.d/\n\n- name: Copy bnied-k...
{ "task_files": 4, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 6, "total_bytes": 5725, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter02/example08/roles/install-mariadb
253
[ "no_license" ]
[ { "path": "chapter02/example08/roles/install-mariadb/tasks/main.yml", "content": "---\n- name: Install mariadb-server package\n apt:\n name: mariadb-server\n update_cache: yes\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 97 } ]
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 97, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter05/example02/roles/packageinstall
253
[ "no_license" ]
[ { "path": "chapter05/example02/roles/packageinstall/tasks/main.yml", "content": "---\n- name: Install the epel-release package\n yum:\n name: epel-release\n state: present\n\n- name: Install cloud-init and docker\n yum:\n name: \"{{ item }}\"\n state: present\n loop:\n - cloud-init\n - ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 221, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter05/example03/roles/packageinstall
253
[ "no_license" ]
[ { "path": "chapter05/example03/roles/packageinstall/tasks/main.yml", "content": "---\n- name: Install cloud-init and docker\n apt:\n name: \"{{ item }}\"\n state: present\n loop:\n - cloud-init\n - docker.io\n\n", "license_type": "no_license", "detected_licenses": [], "size_bytes":...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 133, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter05/example04/roles/packageinstall
253
[ "no_license" ]
[ { "path": "chapter05/example04/roles/packageinstall/tasks/main.yml", "content": "---\n- name: Install cloud-init and docker\n apt:\n name: \"{{ item }}\"\n state: present\n loop:\n - cloud-init\n - docker.io\n when: ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'\n\n- nam...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 616, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter05/example07/roles/checkbzip2
253
[ "no_license" ]
[ { "path": "chapter05/example07/roles/checkbzip2/tasks/main.yml", "content": "---\n- name: Check for the existence of bzip2\n stat:\n path: /bin/bzip2\n register: bzip2result\n failed_when: bzip2result.stat.exists == false\n\n- name: Display a message if bzip2 exists\n debug:\n msg: bzip2 installed...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 224, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter05/example07/roles/installbzip2
253
[ "no_license" ]
[ { "path": "chapter05/example07/roles/installbzip2/tasks/main.yml", "content": "---\n- name: Ensure bzip2 is installed\n yum:\n name: bzip2\n state: present\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 80 } ]
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 80, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter05/example09/roles/checksshdroot
253
[ "no_license" ]
[ { "path": "chapter05/example09/roles/checksshdroot/tasks/main.yml", "content": "---\n- name: Check root login setting in sshd_config\n command: grep -e \"^PermitRootLogin no\" /etc/ssh/sshd_config\n register: grepresult\n failed_when: grepresult.rc != 0\n\n- name: Display a message if root login is disab...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 270, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter05/example09/roles/filecopyexample
253
[ "no_license" ]
[ { "path": "chapter05/example09/roles/filecopyexample/tasks/main.yml", "content": "---\n- name: Copy new MOTD file, and backup any existing file if it exists\n copy:\n src: files/motd\n dest: /etc/motd\n owner: root\n group: root\n mode: '0644'\n backup: yes\n- name: Copy across new chrony...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 634, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter05/example09/roles/securesshd
253
[ "no_license" ]
[ { "path": "chapter05/example09/roles/securesshd/tasks/main.yml", "content": "---\n- name: Disable root logins over SSH\n lineinfile:\n dest: /etc/ssh/sshd_config\n regexp: \"^PermitRootLogin\"\n line: \"PermitRootLogin no\"\n state: present\n", "license_type": "no_license", "detected_li...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 167, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter05/example09/roles/templatentp
253
[ "no_license" ]
[ { "path": "chapter05/example09/roles/templatentp/tasks/main.yml", "content": "---\n- name: Deploy chrony configuration template\n template:\n src: templates/chrony.conf.j2\n dest: /etc/chrony.conf\n owner: root\n group: root\n mode: '0644'\n backup: yes\n", "license_type": "no_license...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 369, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter05/example10/roles/cleanup
253
[ "no_license" ]
[ { "path": "chapter05/example10/roles/cleanup/tasks/main.yml", "content": "---\n# tasks file for cleanup\n- name: Clean out yum cache\n shell: yum clean all\n\n- name: Stop syslog\n shell: service rsyslog stop\n\n- name: Force log rotation\n shell: /sbin/logrotate -f /etc/logrotate.conf\n ignore_errors: ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1346, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter07/example01/roles/installmariadb
253
[ "no_license" ]
[ { "path": "chapter07/example01/roles/installmariadb/tasks/main.yml", "content": "---\n- name: Install MariaDB Server on Ubuntu or Debian\n apt:\n name: \"{{ item }}\"\n state: present\n loop:\n - mariadb-server\n - mariadb-client\n when: ansible_distribution == 'Debian' or ansible_distributio...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 468, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter07/example02/roles/uninstallmariadb
253
[ "no_license" ]
[ { "path": "chapter07/example02/roles/uninstallmariadb/tasks/main.yml", "content": "---\n- name: Uninstall MariaDB Server on Ubuntu or Debian\n apt:\n name: \"{{ item }}\"\n state: absent\n loop:\n - mariadb-server\n - mariadb-client\n when: ansible_distribution == 'Debian' or ansible_distribu...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 470, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter07/example03/roles/installduplicati
253
[ "no_license" ]
[ { "path": "chapter07/example03/roles/installduplicati/tasks/main.yml", "content": "---\n- name: Install Duplicati beta on Ubuntu\n apt:\n deb: https://github.com/duplicati/duplicati/releases/download/v2.0.4.23-2.0.4.23_beta_2019-07-14/duplicati_2.0.4.23-1_all.deb\n when: ansible_distribution == 'Debian...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 585, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter07/example04/roles/installvirtualmin
253
[ "no_license" ]
[ { "path": "chapter07/example04/roles/installvirtualmin/tasks/main.yml", "content": "---\n- name: download virtualmin install script\n get_url:\n url: http://software.virtualmin.com/gpl/scripts/install.sh\n dest: /root/install.sh\n mode: 0755\n\n- name: virtualmin install (takes around 10 mins) you...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 396, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter07/example05/roles/configuremariadb
253
[ "no_license" ]
[ { "path": "chapter07/example05/roles/configuremariadb/tasks/main.yml", "content": "---\n- name: Reconfigure MariaDB Server to listen for external connections\n lineinfile:\n path: /etc/mysql/mariadb.conf.d/50-server.cnf\n regexp: '^bind-address\\s+='\n line: 'bind-address = 0.0.0.0'\n insertaft...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 363, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter07/example06/roles/securesshd
253
[ "no_license" ]
[ { "path": "chapter07/example06/roles/securesshd/tasks/main.yml", "content": "---\n- name: Copy SSHd configuration to target host\n copy:\n src: files/sshd_config\n dest: /etc/ssh/sshd_config\n owner: root\n group: root\n mode: 0644\n\n- name: Restart SSH daemon\n service:\n name: ssh\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 239, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter07/example07/roles/securesshd
253
[ "no_license" ]
[ { "path": "chapter07/example07/roles/securesshd/tasks/main.yml", "content": "---\n- name: Copy SSHd configuration to target host\n copy:\n src: files/sshd_config\n dest: /etc/ssh/sshd_config\n owner: root\n group: root\n mode: 0644\n notify:\n - Restart SSH daemon\n", "license_type":...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 199, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter07/example08/roles/securesshd
253
[ "no_license" ]
[ { "path": "chapter07/example08/roles/securesshd/tasks/main.yml", "content": "---\n- name: Copy SSHd configuration to target host\n copy:\n src: files/sshd_config\n dest: /etc/ssh/sshd_config\n owner: root\n group: root\n mode: 0644\n notify:\n - Restart SSH daemon\n\n- name: Perform an a...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 470, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter07/example10/roles/configuremariadb
253
[ "no_license" ]
[ { "path": "chapter07/example10/roles/configuremariadb/defaults/main.yml", "content": "---\nmariadb_bind_address: \"127.0.0.1\"\nmariadb_port: \"3306\"\nmariadb_max_binlog_size: \"100M\"\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 91 }, { "path": "chapter07/ex...
{ "task_files": 1, "has_defaults": true, "has_handlers": true, "has_templates": true }
{ "file_count": 5, "total_bytes": 1307, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter08/example01/roles/pulpconfig
253
[ "no_license" ]
[ { "path": "chapter08/example01/roles/pulpconfig/tasks/main.yml", "content": "---\n- name: Create a directory to back up any existing REPO configuration\n file:\n path: /etc/yum.repos.d/originalconfig\n state: directory\n\n- name: Move aside any existing REPO configuration\n shell: mv /etc/yum.repos....
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 861, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter08/example01/roles/updatekernel
253
[ "no_license" ]
[ { "path": "chapter08/example01/roles/updatekernel/tasks/main.yml", "content": "---\n- name: Update the kernel\n yum:\n name: kernel\n state: latest\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 72 } ]
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 72, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter08/example02/roles/pulpconfig
253
[ "no_license" ]
[ { "path": "chapter08/example02/roles/pulpconfig/tasks/main.yml", "content": "---\n- name: Create a directory to back up any existing REPO configuration\n file:\n path: /etc/apt/originalconfig\n state: directory\n\n- name: Move existing config into backup directory\n shell: mv /etc/apt/sources.list /...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 759, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter08/example02/roles/updatekernel
253
[ "no_license" ]
[ { "path": "chapter08/example02/roles/updatekernel/tasks/main.yml", "content": "---\n- name: Update the kernel\n apt:\n name: linux-generic\n state: latest\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
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter10/example01/roles/addusers
253
[ "no_license" ]
[ { "path": "chapter10/example01/roles/addusers/tasks/main.yml", "content": "---\n- name: Add required users to Linux servers\n user:\n name: johndoe\n comment: <NAME>\n shell: /bin/bash\n\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 116 } ]
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 116, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter10/example02/roles/addusers
253
[ "no_license" ]
[ { "path": "chapter10/example02/roles/addusers/vars/main.yml", "content": "---\njohndoepw: secure123\n\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 26 }, { "path": "chapter10/example02/roles/addusers/tasks/main.yml", "content": "---\n- name: Add required us...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 388, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter10/example03/roles/addusers
253
[ "no_license" ]
[ { "path": "chapter10/example03/roles/addusers/tasks/main.yml", "content": "---\n- name: Add required users to Linux servers\n user:\n name: \"{{ item.name }}\" \n comment: \"{{ item.comment }}\"\n shell: /bin/bash\n groups: \"{{ item.groups }}\"\n append: yes\n state: present\n loop:\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 338, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter10/example04/roles/addusers
253
[ "no_license" ]
[ { "path": "chapter10/example04/roles/addusers/tasks/main.yml", "content": "---\n- name: Add required users to Linux servers\n user:\n name: johndoe\n state: absent\n\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 93 } ]
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 93, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter10/example05/roles/addusers
253
[ "no_license" ]
[ { "path": "chapter10/example05/roles/addusers/tasks/main.yml", "content": "---\n- name: Add required users to Linux servers\n user:\n name: johndoe\n state: absent\n\n- name: Clean up user home directory\n file:\n path: /home/johndoe\n state: absent\n", "license_type": "no_license", "d...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 180, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter11/example01/roles/installmariadb
253
[ "no_license" ]
[ { "path": "chapter11/example01/roles/installmariadb/tasks/main.yml", "content": "---\n- name: Populate MariaDB yum template on target host\n template:\n src: templates/mariadb.repo.j2\n dest: /etc/yum.repos.d/mariadb.repo\n owner: root\n group: root\n mode: '0644'\n register: mariadbtemplat...
{ "task_files": 1, "has_defaults": true, "has_handlers": false, "has_templates": true }
{ "file_count": 3, "total_bytes": 994, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter11/example02/roles/securemariadb
253
[ "no_license" ]
[ { "path": "chapter11/example02/roles/securemariadb/vars/main.yml", "content": "---\nmariadb_root_password: \"<PASSWORD>\"\n", "license_type": "no_license", "detected_licenses": [], "size_bytes": 40 }, { "path": "chapter11/example02/roles/securemariadb/tasks/main.yml", "content": "---...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 2, "total_bytes": 824, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter11/example03/roles/installpostgres
253
[ "no_license" ]
[ { "path": "chapter11/example03/roles/installpostgres/tasks/main.yml", "content": "---\n- name: Populate PostgreSQL yum template on target host\n template:\n src: templates/pgdg.list.j2\n dest: /etc/apt/sources.list.d/pgdg.list\n owner: root\n group: root\n mode: '0644'\n\n- name: Add key for...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 682, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter11/example04/roles/setuppostgres
253
[ "no_license" ]
[ { "path": "chapter11/example04/roles/setuppostgres/tasks/main.yml", "content": "---\n- name: Install PostgreSQL Ansible support packages\n apt:\n name: python-psycopg2\n state: latest\n\n- name: Create production database\n postgresql_db:\n name: production\n state: present\n become_user: pos...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 884, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter11/example05/roles/loadmariadb
253
[ "no_license" ]
[ { "path": "chapter11/example05/roles/loadmariadb/tasks/main.yml", "content": "---\n- name: Copy sample database to server\n copy:\n src: \"{{ item }}\"\n dest: /tmp/\n loop:\n - files/test_db/employees.sql\n - files/test_db/load_departments.dump\n - files/test_db/load_employees.dump\n - ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 627, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter11/example06a/roles/loadmariadb
253
[ "no_license" ]
[ { "path": "chapter11/example06a/roles/loadmariadb/tasks/main.yml", "content": "---\n- name: Check to see if the database exists\n shell: \"mysqlshow -u root --password={{ <PASSWORD>_<PASSWORD> }} employees\"\n ignore_errors: true\n register: dbexists\n\n- name: Import new database only if it doesn't alre...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 1189, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter11/example06b/roles/backupmariadb
253
[ "no_license" ]
[ { "path": "chapter11/example06b/roles/backupmariadb/tasks/main.yml", "content": "---\n- name: Define a variable for the backup file name\n set_fact:\n db_filename: \"/tmp/{{ inventory_hostname }}-backup-{{ ansible_date_time.date }}.sql\"\n\n- name: Back up the database\n shell: \"mysqldump -u root --pa...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 432, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter11/example06c/roles/backupmariadb
253
[ "no_license" ]
[ { "path": "chapter11/example06c/roles/backupmariadb/tasks/main.yml", "content": "---\n- name: Define a variable for the backup file name\n set_fact:\n db_filename: \"/tmp/{{ inventory_hostname }}-backup-{{ ansible_date_time.date }}.sql\"\n\n- name: Back up the database\n mysql_db:\n state: dump\n ...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 424, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter11/example07/roles/maintainpostgres
253
[ "no_license" ]
[ { "path": "chapter11/example07/roles/maintainpostgres/tasks/main.yml", "content": "---\n- name: Perform a VACUUM on the sales.credit_card table\n shell: psql -c \"VACUUM FULL sales.creditcard\" AdventureWorks\n become: yes\n become_user: postgres\n", "license_type": "no_license", "detected_licens...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 161, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter11/example07a/roles/maintainpostgres
253
[ "no_license" ]
[ { "path": "chapter11/example07a/roles/maintainpostgres/tasks/main.yml", "content": "---\n- name: Perform a VACUUM on the sales.credit_card table\n postgresql_query:\n db: AdventureWorks\n query: VACUUM sales.creditcard\n autocommit: yes\n become_user: postgres\n become: yes\n", "license_type...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 196, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter11/example08/roles/maintainpostgres
253
[ "no_license" ]
[ { "path": "chapter11/example08/roles/maintainpostgres/tasks/main.yml", "content": "---\n- name: Manually insert data into the creditcard table\n postgresql_query:\n db: AdventureWorks\n query: INSERT INTO sales.creditcard ( creditcardid, cardtype, cardnumber, expmonth, expyear ) VALUES ( 0, 'Visa', '...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 294, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter12/example01/roles/pruneappdata
253
[ "no_license" ]
[ { "path": "chapter12/example01/roles/pruneappdata/tasks/main.yml", "content": "---\n- name: Find all files older than {{ max_age }} in {{ target_dir }}\n find:\n paths: \"{{ target_dir }}\"\n age: \"{{ max_age }}\"\n recurse: yes\n register: prune_list\n\n- name: Print file list for auditing purp...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 508, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter12/example02/roles/pruneappdata
253
[ "no_license" ]
[ { "path": "chapter12/example02/roles/pruneappdata/tasks/main.yml", "content": "---\n- name: Obtain free disk space for {{ target_dir }}\n shell: df -h \"{{ target_dir }}\" | tail -n 1 | awk {'print $5 '} | sed 's/%//g'\n register: dfresult\n changed_when: false\n\n- name: Run file pruning only if disk u...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 842, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter12/example03/roles/securesshd
253
[ "no_license" ]
[ { "path": "chapter12/example03/roles/securesshd/tasks/main.yml", "content": "---\n- name: Copy SSHd configuration to target host\n template:\n src: templates/sshd_config.j2\n dest: /etc/ssh/sshd_config\n owner: root\n group: root\n mode: 0644\n notify:\n - Restart SSH daemon\n\n", "l...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": true }
{ "file_count": 2, "total_bytes": 445, "all_permissive": false }
ansible_role
PacktPublishing/Hands-On-Enterprise-Automation-on-Linux
0700ca83de2104f8650e58a479668a98b80216ba
33
chapter12/example04/roles/securesshd
253
[ "no_license" ]
[ { "path": "chapter12/example04/roles/securesshd/tasks/main.yml", "content": "---\n- name: Copy SSHd configuration to target host\n template:\n src: templates/sshd_config.j2\n dest: /etc/ssh/sshd_config\n owner: root\n group: root\n mode: 0644\n notify:\n - Restart SSH daemon\n register:...
{ "task_files": 1, "has_defaults": false, "has_handlers": false, "has_templates": false }
{ "file_count": 1, "total_bytes": 337, "all_permissive": false }