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 | guillaumeBianchi/groupe_TP | cdc2e6b908f2f90852659122c3db01fb17abf420 | 0 | ProjectDevOps/roles/nginx | 56 | [
"no_license"
] | [
{
"path": "ProjectDevOps/roles/nginx/tasks/main.yml",
"content": "---\n# tasks file for nginx\n- name: Install Nginx\n apt: name=nginx state=latest\n\n- name: Start nginx service\n service: name=nginx state=started enabled=true\n\n- name: Remove default site config\n file: path=/etc/nginx/sites-enabled/d... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 261,
"all_permissive": false
} |
ansible_role | SpenserJ/ansible-playbook-comfy | 4f4840dbe841e38987044fb4a1b5c72f09bba078 | 0 | roles/base | 56 | [
"no_license"
] | [
{
"path": "roles/base/tasks/main.yml",
"content": "---\n- name: Install an updated PPA\n command: add-apt-repository -y ppa:pi-rho/dev\n- name: Install the Git Maintainers PPA\n command: add-apt-repository -y ppa:git-core/ppa\n\n- name: Update Apt\n apt: update_cache=yes\n\n- name: Install useful applica... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 373,
"all_permissive": false
} |
ansible_role | SpenserJ/ansible-playbook-comfy | 4f4840dbe841e38987044fb4a1b5c72f09bba078 | 0 | roles/chrome | 56 | [
"no_license"
] | [
{
"path": "roles/chrome/tasks/main.yml",
"content": "---\n- name: Check for Google Chrome\n stat: path=/usr/bin/google-chrome\n register: chrome_installed\n- name: Download Google Chrome\n get_url: url=https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb\n dest=/tmp/google-... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 614,
"all_permissive": false
} |
ansible_role | SpenserJ/ansible-playbook-comfy | 4f4840dbe841e38987044fb4a1b5c72f09bba078 | 0 | roles/dotfiles | 56 | [
"no_license"
] | [
{
"path": "roles/dotfiles/tasks/main.yml",
"content": "---\n- name: Install Homeshick\n git: repo=git://github.com/andsens/homeshick.git\n dest=/home/{{ ansible_user_id }}/.homesick/repos/homeshick\n update=yes\n accept_hostkey=yes\n- name: Check for dotfiles\n stat: path=/home/{{ ansibl... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 856,
"all_permissive": false
} |
ansible_role | SpenserJ/ansible-playbook-comfy | 4f4840dbe841e38987044fb4a1b5c72f09bba078 | 0 | roles/i3wm | 56 | [
"no_license"
] | [
{
"path": "roles/i3wm/tasks/main.yml",
"content": "---\n- name: Install i3\n apt: pkg={{ item }} state=present\n with_items:\n - suckless-tools\n - i3\n - i3-wm\n - i3status\n - i3lock\n\n- name: Install py3status dependencies\n apt: pkg={{ item }} state=present\n with_items:\n - python-stdeb\n -... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 315,
"all_permissive": false
} |
ansible_role | SpenserJ/ansible-playbook-comfy | 4f4840dbe841e38987044fb4a1b5c72f09bba078 | 0 | roles/insync | 56 | [
"no_license"
] | [
{
"path": "roles/insync/tasks/main.yml",
"content": "- name: Install Insync repository GPG key\n shell: wget -qO - https://d2t3ff60b2tol4.cloudfront.net/services@insynchq.com.gpg.key | apt-key add -\n- name: Install Insync repository\n lineinfile: dest=/etc/apt/sources.list\n line=\"deb http:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 400,
"all_permissive": false
} |
ansible_role | SpenserJ/ansible-playbook-comfy | 4f4840dbe841e38987044fb4a1b5c72f09bba078 | 0 | roles/skype | 56 | [
"no_license"
] | [
{
"path": "roles/skype/tasks/main.yml",
"content": "---\n- name: Check for Skype\n stat: path=/usr/bin/skype\n register: skype_installed\n- name: Install Multiarch Support\n apt: pkg=multiarch-support\n when: skype_installed.stat.exists == false\n- name: Download Skype\n get_url: url=http://download.sk... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 627,
"all_permissive": false
} |
ansible_role | SpenserJ/ansible-playbook-comfy | 4f4840dbe841e38987044fb4a1b5c72f09bba078 | 0 | roles/tools | 56 | [
"no_license"
] | [
{
"path": "roles/tools/vars/main.yml",
"content": "keeagent_url: 'http://lechnology.com/wp-content/uploads/2014/04/KeeAgent_v0.4.1.zip'\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 85
},
{
"path": "roles/tools/tasks/main.yml",
"content": "---\n- name: Inst... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 441,
"all_permissive": false
} |
ansible_role | zyqCSL/openwhisk_archive | 283b62f8c6d5c33a60d592a396a6a063ad6e745b | 0 | openwhisk-harv-vm-cgroup-azure-distributed-jsq/ansible/roles/prereq | 56 | [
"no_license"
] | [
{
"path": "openwhisk-harv-vm-cgroup-azure-distributed-jsq/ansible/roles/prereq/tasks/deploy.yml",
"content": "#\n# Licensed to the Apache Software Foundation (ASF) under one or more\n# contributor license agreements. See the NOTICE file distributed with\n# this work for additional information regarding cop... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2888,
"all_permissive": false
} |
ansible_role | smurfpandey/media-lab | 63d404642b94df46138d1c2d53eeab8dd2770377 | 0 | roles/RPi-Monitor | 61 | [
"no_license"
] | [
{
"path": "roles/RPi-Monitor/tasks/main.yml",
"content": "- name: Install needed packages (see https://xavierberger.github.io/RPi-Monitor-docs/11_installation.html)\n apt:\n name:\n - dirmngr\n allow_unauthenticated: true\n install_recommends: no\n state: latest\n\n- name: Add RPi-Monitor ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 735,
"all_permissive": false
} |
ansible_role | smurfpandey/media-lab | 63d404642b94df46138d1c2d53eeab8dd2770377 | 0 | roles/docker | 61 | [
"no_license"
] | [
{
"path": "roles/docker/tasks/main.yml",
"content": "---\n- name: Log on which Linux distro Docker is going to be installed\n debug:\n msg: \"The distro is: {{ ansible_distribution|lower }} and the version name is: {{ ansible_distribution_release }}\"\n\n- name: Install needed packages (see https://docs... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1755,
"all_permissive": false
} |
ansible_role | smurfpandey/media-lab | 63d404642b94df46138d1c2d53eeab8dd2770377 | 0 | roles/hdd-setup | 61 | [
"no_license"
] | [
{
"path": "roles/hdd-setup/tasks/main.yml",
"content": "- name: Install needed packages (see https://www.raspberrypi.org/documentation/configuration/external-storage.md)\n apt:\n name:\n - ntfs-3g\n allow_unauthenticated: true\n install_recommends: no\n state: latest\n\n- name: Mount hard-... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 372,
"all_permissive": false
} |
ansible_role | smurfpandey/media-lab | 63d404642b94df46138d1c2d53eeab8dd2770377 | 0 | roles/media-lab | 61 | [
"no_license"
] | [
{
"path": "roles/media-lab/tasks/main.yml",
"content": "\n---\n# tasks file for docker-compose of media-lab\n- name: Create installation dir /opt/media-lab\n file:\n path: /opt/media-lab\n state: directory\n\n- name: Template docker-compose.yml\n template:\n src: docker-compose.yml.j2\n dest: ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 3478,
"all_permissive": false
} |
ansible_role | ralgar/homelab | 25ff6170def6623f32095746f6561631cc318cd7 | 3 | metal/roles/gitlab-runner | 61 | [
"no_license"
] | [
{
"path": "metal/roles/gitlab-runner/defaults/main.yml",
"content": "---\nkolla_venv: /root/kolla-venv\ngitlab_runner_id: \"{{ lookup('ansible.builtin.env', 'GITLAB_RUNNER_ID') }}\"\ngitlab_runner_token: \"{{ lookup('ansible.builtin.env', 'GITLAB_RUNNER_TOKEN') }}\"\n",
"license_type": "no_license",
... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 2274,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/app_dirs | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/app_dirs/tasks/main.yml",
"content": "---\n\n - name: create install directory\n become: yes\n file: >\n path={{ app_install_dir }}\n state=directory\n owner={{ ansible_ssh_user }}\n\n - name: create conf directory\n file: >\n path={{ app_install_dir }}... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 832,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/app_django | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/app_django/tasks/main.yml",
"content": "---\n - name: install python geoip libraries for geodjango\n become: yes\n pkgng: name=py36-GeoIP2 state=present\n\n - name: install xapian for search\n become: yes\n pkgng: name={{ item }} state=present\n with_items:\n - ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2101,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/app_source | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/app_source/tasks/main.yml",
"content": "---\n - name: copy ssh key\n copy: >\n content=\"{{ ssh_deploy_key }}\"\n dest=~/.ssh/{{ short_name }}-deploy\n mode=0600\n\n - name: checkout code\n git: >\n dest={{ app_install_dir }}/src\n key_file=~/.ssh/{{ ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 360,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/os_devel | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/os_devel/tasks/main.yml",
"content": "---\n - name: install root ca certs\n become: yes\n pkgng: name=ca_root_nss state=present\n\n - name: install scm\n become: yes\n pkgng: name=git,mercurial,subversion state=present\n\n - name: install graphics libraries\n become... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 576,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/os_geoip_databases | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/os_geoip_databases/tasks/main.yml",
"content": "---\n - name: install the geoip update script\n become: yes\n pkgng: name=geoipupdate\n\n - name: download geoip updates\n become: yes\n command: /usr/local/bin/geoipupdate\n",
"license_type": "no_license",
"detect... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 180,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/os_nfs | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/os_nfs/tasks/main.yml",
"content": "---\n - name: configure rpc statd\n become: yes\n copy: src=statd dest=/etc/rc.conf.d/statd\n\n - name: start statd\n become: yes\n service: name=statd state=started\n\n - name: configure rpc lockd\n become: yes\n copy: src=loc... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 343,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/os_pgsql_install | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/os_pgsql_install/tasks/main.yml",
"content": "---\n - name: install postgresql\n become: yes\n pkgng: name=postgresql95-server state=present\n\n - name: install python libraries\n become: yes\n pkgng: name=py36-psycopg2 state=present\n",
"license_type": "no_license"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 195,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/os_pgsql_start | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/os_pgsql_start/vars/main.yml",
"content": "---\n database_host: localhost\n database_admin_user: pgsql\n database_admin_password: <PASSWORD>\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 98
},
{
"path": "deploy/roles/os_pgsql_start/ta... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 824,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/os_postgis_install | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/os_postgis_install/tasks/main.yml",
"content": "---\n - name: install postgis\n become: yes\n pkgng: name=postgis24\n\n - name: create postgis template\n become: yes\n become_user: pgsql\n postgresql_db: >\n login_user=pgsql\n name=template_postgis\n s... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1479,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/os_python | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/os_python/tasks/main.yml",
"content": "---\n - name: install python 3.6\n become: yes\n pkgng: name=python36 state=present\n\n - name: create python symlink to /usr/bin\n become: yes\n file: src=/usr/local/bin/python3.6 dest=/usr/bin/python state=link\n\n - name: creat... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 364,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/os_redis | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/os_redis/tasks/main.yml",
"content": "---\n - name: install redis\n become: yes\n pkgng: name=redis state=present\n\n - name: copy redis configuration\n become: yes\n copy: src=redis.conf dest=/usr/local/etc/redis.conf backup=yes\n notify:\n - restart redis\n\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 420,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/os_supervisord | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/os_supervisord/handlers/main.yml",
"content": "---\n - name: restart supervisord\n become: yes\n service: name=supervisord state=restarted",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 95
},
{
"path": "deploy/roles/os_supervisord/ta... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 766,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/pgsql_backup | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/pgsql_backup/tasks/main.yml",
"content": "---\n - name: create backup directory\n become: yes\n file: >\n path={{ app_install_dir }}/var/backups\n state=directory\n owner={{ ansible_ssh_user }}\n\n - name: install cron job for backup\n cron: >\n name='b... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 907,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/pgsql_database | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/pgsql_database/tasks/main.yml",
"content": "---\n - name: create database\n become: yes\n postgresql_db: >\n login_user={{ database_admin_user }}\n login_password={{ <PASSWORD> }}\n login_host={{ database_host }}\n name={{ app_database }}\n owner={{ ap... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 371,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/pgsql_database_postgis | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/pgsql_database_postgis/tasks/main.yml",
"content": "---\n - name: create database\n become: yes\n postgresql_db: >\n login_user={{ database_admin_user }}\n login_password={{ <PASSWORD> }}\n login_host={{ database_host }}\n name={{ app_database }}\n own... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 403,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/pgsql_user | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/pgsql_user/tasks/main.yml",
"content": "---\n - name: create user\n postgresql_user: >\n login_user={{ database_admin_user }}\n login_password={{ <PASSWORD> }}\n login_host={{ database_host }}\n name={{ app_database_user }}\n password={{ <PASSWORD> }}\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 291,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | deploy/roles/svr_prod | 61 | [
"no_license"
] | [
{
"path": "deploy/roles/svr_prod/tasks/main.yml",
"content": "---\n - name: create uwsgi socket directory\n become: yes\n file: >\n path={{ app_install_dir }}/var/uwsgi\n state=directory\n owner=www\n group=www\n\n - name: install uwsgi application config file\n template: >\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 3155,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | js/deploy/roles/app_dirs | 61 | [
"no_license"
] | [
{
"path": "js/deploy/roles/app_dirs/vars/main.yml",
"content": "---\n app_install_dir: /var/www/{{ domain_name }}\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 50
},
{
"path": "js/deploy/roles/app_dirs/tasks/main.yml",
"content": "---\n\n - name: create i... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 707,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | js/deploy/roles/os_devel | 61 | [
"no_license"
] | [
{
"path": "js/deploy/roles/os_devel/tasks/main.yml",
"content": "---\n - name: install root ca certs\n become: yes\n pkgng: name=ca_root_nss state=present\n\n - name: install scm\n become: yes\n pkgng: name=git,mercurial,subversion state=present\n\n - name: install development tools\n beco... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 711,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | js/deploy/roles/os_nginx | 61 | [
"no_license"
] | [
{
"path": "js/deploy/roles/os_nginx/tasks/main.yml",
"content": "---\n - name: install nginx\n become: yes\n pkgng: name=nginx state=present\n\n - name: copy nginx configuration\n become: yes\n copy: src=nginx.conf dest=/usr/local/etc/nginx/nginx.conf backup=yes\n notify:\n - restart n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1483,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | js/deploy/roles/os_updates | 61 | [
"no_license"
] | [
{
"path": "js/deploy/roles/os_updates/tasks/main.yml",
"content": "---\n - name: download freebsd updates\n become: yes\n command: /usr/sbin/freebsd-update --not-running-from-cron fetch\n\n - name: install freebsd updates\n become: yes\n command: /usr/sbin/freebsd-update install\n register:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 537,
"all_permissive": false
} |
ansible_role | genie4viz/django-vue | 13efc76979b0adf2573ed6a966a10a82f927acd1 | 0 | js/deploy/roles/svr_dev | 61 | [
"no_license"
] | [
{
"path": "js/deploy/roles/svr_dev/tasks/main.yml",
"content": "---\n - name: create dist directory\n file:\n state: directory\n dest: '{{ app_install_dir }}/src/dist'\n\n - name: install app configuration\n template:\n src: config.jsx\n dest: '{{ app_install_dir }}/src/app/confi... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 1991,
"all_permissive": false
} |
ansible_role | kshirsagarn/Ansible_playbooks | 6e143d27e4f495f5537a7909d5265a6a2124e158 | 0 | roles/apache | 61 | [
"no_license"
] | [
{
"path": "roles/apache/tasks/deploy.yml",
"content": "- name: Deploy html file\n copy: src=index.html dest={{dest_path}}\n notify: restart httpd\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 91
},
{
"path": "roles/apache/tasks/main.yml",
"content": "- in... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 185,
"all_permissive": false
} |
ansible_role | larsks/irc-example-freebdsm | 8d7de8264bbedb6d139519b5761b9021e26d34b2 | 0 | roles/app-deploy | 61 | [
"no_license"
] | [
{
"path": "roles/app-deploy/defaults/main.yml",
"content": "\n\n---\napp_files_root_dir: /opt/\nproject_name: myproj\nstand_name: stage\n\ndocker_containers:\n percona:\n image: \"percona:latest\"\n envs:\n MYSQL_DATABASE: \"central_{{ region | default(stand_name) }}\"\n MYSQL_ROOT_PASSWORD... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 498,
"all_permissive": false
} |
ansible_role | sckornnnn/WinRM | f0b03070cf1195e4cf2cc2075aadfa8a16cfe6ff | 1 | roles/disk_freespace | 61 | [
"no_license"
] | [
{
"path": "roles/disk_freespace/tasks/main.yaml",
"content": "- name: 'Check free space in C:'\n win_shell: 'write-host ([math]::Round((Get-PSDrive C | Select-Object Free).free / 1024 / 1024 / 1024,2))'\n register: freespace\n\n- name: report free disk space\n debug:\n msg: |\n \"{{ freespace.std... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 248,
"all_permissive": false
} |
ansible_role | sckornnnn/WinRM | f0b03070cf1195e4cf2cc2075aadfa8a16cfe6ff | 1 | roles/install_kb | 61 | [
"no_license"
] | [
{
"path": "roles/install_kb/tasks/Install_hotfix.yaml",
"content": "- name: Install hotfix validating KB\n win_hotfix:\n# hotfix_kb: KB3172729\n source: C:\\{{ item }}\n state: present\n# register: hotfix_install",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 1... | {
"task_files": 4,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 937,
"all_permissive": false
} |
ansible_role | sckornnnn/WinRM | f0b03070cf1195e4cf2cc2075aadfa8a16cfe6ff | 1 | roles/run_scap_windows | 61 | [
"no_license"
] | [
{
"path": "roles/run_scap_windows/tasks/main.yml",
"content": "---\n- name: Remove directory structure\n win_file:\n path: C:\\Users\\ansible\n state: absent\n \n- name: Create directory structure\n win_file:\n path: C:\\Users\\ansible\n state: directory\n- name: Create Compliance Report\n wi... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 992,
"all_permissive": false
} |
ansible_role | sckornnnn/WinRM | f0b03070cf1195e4cf2cc2075aadfa8a16cfe6ff | 1 | roles/scap | 61 | [
"no_license"
] | [
{
"path": "roles/scap/tasks/main.yaml",
"content": "---\n- name: Install SCAP Compliance Checker\n win_package:\n path: http://172.20.21.152:8080/scap/scc-5.8_Windows/SCC_5.8_Windows_Setup.exe\n product_id: '{3E36BD4A-8991-401B-95EA-CFE0AD8D51DB}-5.8_is1'\n arguments: /SILENT\n",
"license_type... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 230,
"all_permissive": false
} |
ansible_role | sckornnnn/WinRM | f0b03070cf1195e4cf2cc2075aadfa8a16cfe6ff | 1 | roles/win_reboot | 61 | [
"no_license"
] | [
{
"path": "roles/win_reboot/tasks/main.yaml",
"content": "- name: Reboot machine and send a message\n ansible.windows.win_reboot:\n msg: \"Rebooting machine in 5 seconds\"",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 113
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 113,
"all_permissive": false
} |
ansible_role | sckornnnn/WinRM | f0b03070cf1195e4cf2cc2075aadfa8a16cfe6ff | 1 | roles/win_update | 61 | [
"no_license"
] | [
{
"path": "roles/win_update/tasks/main.yaml",
"content": "- name: Search-only, return list of found updates (if any), log to C:\\ansible_wu.txt\n ansible.windows.win_updates:\n category_names: SecurityUpdates\n state: searched\n log_path: C:\\Users\\ansible\\ansible_wu.txt",
"license_type": "n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 217,
"all_permissive": false
} |
ansible_role | sckornnnn/WinRM | f0b03070cf1195e4cf2cc2075aadfa8a16cfe6ff | 1 | roles/winping | 61 | [
"no_license"
] | [
{
"path": "roles/winping/tasks/main.yaml",
"content": "- name: ping\n win_ping:\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 25
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 25,
"all_permissive": false
} |
ansible_role | valferon/ansible_ec2_sg | bdf175c55c0eb9b6a9a321f40bf0090cf1bb8cc9 | 0 | roles/ec2_sg | 61 | [
"no_license"
] | [
{
"path": "roles/ec2_sg/tasks/main.yml",
"content": "---\n- name: Creating security group \"{{ sg_name }}\" \"{{ sg_description }}\"\n ec2_group:\n name: \"{{ sg_name }}\"\n description: \"{{ sg_description }}\"\n vpc_id: \"{{ vpc_subnet_id }}\"\n region: \"{{ sg_region }}\"\n aws_access_key... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 690,
"all_permissive": false
} |
ansible_role | seletra/aws_webserver_ansible | 013839f23369bfd50da306ba453ff8e5a89add3c | 0 | roles/ec2 | 61 | [
"no_license"
] | [
{
"path": "roles/ec2/tasks/main.yml",
"content": "---\r\n- name: Provision and Launch the new EC2 Instance\r\n ec2:\r\n keypair: \"{{ ec2_keypair }}\"\r\n instance_type: \"{{ instance_type }}\"\r\n image: \"{{ image }}\"\r\n region: \"{{ region }}\"\r\n vpc_subnet_id: \"{{ vpc_subnet_id }}\"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 388,
"all_permissive": false
} |
ansible_role | seletra/aws_webserver_ansible | 013839f23369bfd50da306ba453ff8e5a89add3c | 0 | roles/vpc | 61 | [
"no_license"
] | [
{
"path": "roles/vpc/tasks/main.yml",
"content": "---\r\n# Still need to prevent extra NACL and sg \r\n# Creation of new VPC\r\n- name: Create new VPC\r\n ec2_vpc_net:\r\n name: \"{{ vpc_name }}\"\r\n dns_hostnames: yes\r\n dns_support: yes\r\n state: ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 3718,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/apt_upgrade | 61 | [
"no_license"
] | [
{
"path": "src/roles/apt_upgrade/tasks/main.yml",
"content": "- name: APT update\n ansible.builtin.apt:\n update_cache: yes\n cache_valid_time: 3600\n become: yes\n\n- name: APT upgrade\n ansible.builtin.apt:\n upgrade: safe\n state: latest\n become: yes\n\n- name: APT auto-remove\n ansible... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 387,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/chrony | 61 | [
"no_license"
] | [
{
"path": "src/roles/chrony/tasks/main.yml",
"content": "- name: Configure NTP (Chrony) without Python on target\r\n hosts: ntp_chrony\r\n gather_facts: false\r\n\r\n vars:\r\n chrony_conf_template: ../config/template.conf.j2\r\n chrony_config:\r\n servers:\r\n # - \"pool 0.pool.ntp.org... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 2301,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/common_packages | 61 | [
"no_license"
] | [
{
"path": "src/roles/common_packages/tasks/main.yml",
"content": "- name: Update package index\r\n ansible.builtin.package:\r\n update_cache: yes\r\n\r\n- name: Install common packages on Debian, Ubuntu\r\n ansible.builtin.package:\r\n name:\r\n - htop\r\n - net-tools\r\n - netcat-ope... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 506,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/default_shell | 61 | [
"no_license"
] | [
{
"path": "src/roles/default_shell/tasks/main.yml",
"content": "- name: Define default shell {{ shell_default }}\n ansible.builtin.lineinfile:\n path: /etc/default/useradd\n regexp: '^SHELL='\n line: 'SHELL={{ shell_default }}'\n state: present\n become: true\n\n- name: Define default home cre... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 388,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/dns_server_disable | 61 | [
"no_license"
] | [
{
"path": "src/roles/dns_server_disable/tasks/main.yml",
"content": "- name: Creates directory\n ansible.builtin.file:\n path: /etc/systemd/resolved.conf.d/\n state: directory\n owner: root\n group: root\n\n- name: Define systemd resolved configuration\n ansible.builtin.template:\n src: res... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 445,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/docker_config | 61 | [
"no_license"
] | [
{
"path": "src/roles/docker_config/handlers/main.yml",
"content": "- name: restart_docker\n ansible.builtin.service:\n name: docker\n state: restarted\n\n- name: reload_systemd\n ansible.builtin.systemd:\n daemon_reload: yes",
"license_type": "no_license",
"detected_licenses": [],
"si... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 1086,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/docker_install | 61 | [
"no_license"
] | [
{
"path": "src/roles/docker_install/tasks/main.yml",
"content": "# - name: Uninstall old Docker on Debian/Ubuntu\n# package:\n# name:\n# - docker.io\n# - docker-compose\n# - docker-doc\n# - podman-docker\n# state: absent\n# when: ansible_os_family == 'Debian'\n\n# - name:... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 7197,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/docker_prune | 61 | [
"no_license"
] | [
{
"path": "src/roles/docker_prune/templates/service.j2",
"content": "[Unit]\nDescription=Docker Prune\nAfter=docker.service\nRequires=docker.service\n\n[Service]\nExecStart=/bin/docker-prune --force --hours=1\n\n[Install]\nWantedBy=multi-user.target\n",
"license_type": "no_license",
"detected_licens... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 5,
"total_bytes": 4735,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/docker_swarm_create | 61 | [
"no_license"
] | [
{
"path": "src/roles/docker_swarm_create/tasks/main.yml",
"content": "- name: Set a fact for random host\n set_fact:\n random_host: \"{{ groups['docker_managers'] | random }}\"\n run_once: true\n when: not cluster_exists or not cluster_healthy\n\n- name: Initialize Docker Swarm\n docker_swarm:\n s... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 531,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/docker_swarm_get_tokens | 61 | [
"no_license"
] | [
{
"path": "src/roles/docker_swarm_get_tokens/tasks/main.yml",
"content": "- name: Retrive Docker Swarm Tokens\n docker_swarm_info:\n unlock_key: true\n register: swarm_data\n when: in_cluster and is_manager\n\n# - debug:\n# var: swarm_data\n\n- name: Save Docker Swarm Tokens\n set_fact:\n mana... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1062,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/docker_swarm_info | 61 | [
"no_license"
] | [
{
"path": "src/roles/docker_swarm_info/tasks/main.yml",
"content": "- name: Get docker info\n docker_host_info:\n register: swarm_status\n\n- name: Print cluster error if any\n fail:\n msg: \"{{ swarm_status.host_info.Swarm.Error }}\"\n when: swarm_status.host_info.Swarm.Error != ''\n ignore_errors:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1290,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/docker_swarm_manager_join | 61 | [
"no_license"
] | [
{
"path": "src/roles/docker_swarm_manager_join/tasks/main.yml",
"content": "- name: Get manager token\n set_fact:\n manager_info: >\n {{\n groups['docker_managers'] | map('extract', hostvars) | selectattr('manager_token', 'defined') | first\n }}\n when: in_cluster == false\n\n- name: L... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 588,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/docker_swarm_worker_join | 61 | [
"no_license"
] | [
{
"path": "src/roles/docker_swarm_worker_join/tasks/main.yml",
"content": "- name: Get worker token\n set_fact:\n manager_info: >\n {{\n groups['docker_managers'] | map('extract', hostvars) | selectattr('worker_token', 'defined') | first\n }}\n when: in_cluster == false\n\n- name: Leav... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 646,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/docker_update | 61 | [
"no_license"
] | [
{
"path": "src/roles/docker_update/tasks/main.yml",
"content": "- name: Check if docker package needs an update\n ansible.builtin.package:\n name:\n - docker-ce\n - docker-ce-cli\n - containerd.io\n - docker-buildx-plugin\n - docker-compose-plugin\n state: latest\n update_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1095,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/folder_create | 61 | [
"no_license"
] | [
{
"path": "src/roles/folder_create/tasks/main.yml",
"content": "\n- name: Create folders\n file:\n path: \"{{ item.path }}\"\n owner: \"{{ item.owner }}\"\n group: \"{{ item.group }}\"\n mode: \"{{ item.mode }}\"\n state: directory\n loop: \"{{ folder_to_create }}\"\n",
"license_type": ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 202,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/informations | 61 | [
"no_license"
] | [
{
"path": "src/roles/informations/tasks/main.yml",
"content": "- name: Print Kernel\n debug:\n msg: \"{{ ansible_facts['kernel'] }} {{ ansible_facts['kernel_version'] }}\"\n\n- name: Print OS\n debug:\n msg: \"{{ ansible_os_family }} - {{ ansible_facts['distribution'] }} {{ ansible_facts['distributi... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1008,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/logrotate | 61 | [
"no_license"
] | [
{
"path": "src/roles/logrotate/tasks/main.yml",
"content": "- name: Archive OS installation logs\n community.general.archive:\n dest: /var/log/installer.tar.gz\n path: /var/log/installer\n format: gz\n owner: root\n group: adm\n\n- name: Delete OS installation logs\n file:\n path: /var/l... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 806,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/network_disable_tx | 61 | [
"no_license"
] | [
{
"path": "src/roles/network_disable_tx/tasks/main.yml",
"content": "- name: Get default route interface\n set_fact:\n default_interface: \"{{ ansible_facts.default_ipv4['interface'] }}\"\n\n- name: Print primary interface (for debugging)\n debug:\n msg: \"Primary network interface is {{ default_int... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 497,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/network_netplan | 61 | [
"no_license"
] | [
{
"path": "src/roles/network_netplan/tasks/main.yml",
"content": "- name: Get primary network interface\n set_fact:\n primary_interface: \"{{ ansible_default_ipv4.interface }}\"\n\n- name: Get Netplan files as YAML\n block:\n - name: List files in /etc/netplan\n find:\n paths: /etc/netpl... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2404,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/nfs_client | 61 | [
"no_license"
] | [
{
"path": "src/roles/nfs_client/tasks/main.yml",
"content": "- name: Install NFS client packages\n ansible.builtin.package:\n name: nfs-common\n state: present\n become: true\n\n- name: Ensure local mount directories exist\n ansible.builtin.file:\n path: \"{{ item.local_path }}\"\n state: dir... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 874,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/nfs_server | 61 | [
"no_license"
] | [
{
"path": "src/roles/nfs_server/tasks/main.yml",
"content": "- name: Install NFS server packages\n ansible.builtin.package:\n name: nfs-kernel-server\n state: present\n become: true\n\n- name: Create root mountpoint\n ansible.builtin.file:\n path: \"{{ nfs_export_root.path }}\"\n state: direc... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1693,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/nginx_config | 61 | [
"no_license"
] | [
{
"path": "src/roles/nginx_config/templates/index.html.j2",
"content": "<!DOCTYPE html>\r\n<html>\r\n<head>\r\n <title>Welcome to {{ inventory_hostname }}!</title>\r\n</head>\r\n<body>\r\n <h1>Hello, World!</h1>\r\n <p>This is the default web page for this server.</p>\r\n</body>\r\n</html>\r\n",
... | {
"task_files": 4,
"has_defaults": true,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 11,
"total_bytes": 8759,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/nginx_install | 61 | [
"no_license"
] | [
{
"path": "src/roles/nginx_install/tasks/main.yml",
"content": "- name: Install NGinX\r\n package:\r\n name: nginx\r\n state: present\r\n\r\n- name: Install Python Lib for detecting packages versions\r\n package:\r\n name: python3-rpm\r\n state: present\r\n when: ansible_os_family == 'Suse'\r... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 714,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/nginx_test_domain | 61 | [
"no_license"
] | [
{
"path": "src/roles/nginx_test_domain/tasks/main.yml",
"content": "- name: Check HTTP status\r\n uri:\r\n url: \"http://{{ inventory_hostname }}\"\r\n method: GET\r\n status_code: [200, 202, 204, 205, 206]\r\n return_content: true\r\n register: result\r\n delegate_to: localhost\r\n # ignore... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1108,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/python_install | 61 | [
"no_license"
] | [
{
"path": "src/roles/python_install/defaults/main.yml",
"content": "---\nansible_user: president\nansible_password: <PASSWORD>!\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 59
},
{
"path": "src/roles/python_install/tasks/main.yml",
"content": "- name: In... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 128,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/reboot_if_require | 61 | [
"no_license"
] | [
{
"path": "src/roles/reboot_if_require/tasks/main.yml",
"content": "- name: Check if reboot is required\n stat:\n path: /var/run/reboot-required\n register: reboot_required\n\n- name: Reboot host\n ansible.builtin.reboot:\n reboot_timeout: 600\n test_command: whoami\n when: reboot_required.stat... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 254,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/ssh_user_ansible_create | 61 | [
"no_license"
] | [
{
"path": "src/roles/ssh_user_ansible_create/defaults/main.yml",
"content": "---\nansible_user: president\nansible_password: <PASSWORD>!\nkey_dir: \"~/.ansible_keys\"\nkey_public_name: \"id_ed25519.pub\"\nuser_to_create: \"ansible\"\n",
"license_type": "no_license",
"detected_licenses": [],
"siz... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1441,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/ssh_user_ansible_keygen | 61 | [
"no_license"
] | [
{
"path": "src/roles/ssh_user_ansible_keygen/tasks/main.yml",
"content": "- name: Ensure directory exists for SSH keys\n file:\n path: \"{{ key_dir }}\"\n state: directory\n mode: '0700'\n\n- name: Check if SSH private key {{ key_private_name }} already exists\n stat:\n path: \"{{ key_dir }}/{... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 565,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/ssh_user_remove_key | 61 | [
"no_license"
] | [
{
"path": "src/roles/ssh_user_remove_key/defaults/main.yml",
"content": "ssh_user_to_remove_key: \"\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 27
},
{
"path": "src/roles/ssh_user_remove_key/tasks/main.yml",
"content": "- name: Remove SSH key for {{ ssh... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 260,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/ssh_user_remove_password | 61 | [
"no_license"
] | [
{
"path": "src/roles/ssh_user_remove_password/tasks/main.yml",
"content": "- name: Verify that the {{ ssh_user_to_remove_password }} is not the ansible_user\n fail:\n msg: \"The ssh_user_to_remove_password cannot be the same as the ansible_user. Aborting.\"\n when: ssh_user_to_remove_password == ansibl... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 528,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/ssh_user_test | 61 | [
"no_license"
] | [
{
"path": "src/roles/ssh_user_test/tasks/main.yml",
"content": "- name: Test ssh connection {{ ansible_user }}\n ping:\n\n- name: Test SSH connection {{ ansible_user }} with elevated privileges\n ping:\n become: yes\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 150
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 150,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/ssh_users_create | 61 | [
"no_license"
] | [
{
"path": "src/roles/ssh_users_create/tasks/main.yml",
"content": "- name: Create groups\n ansible.builtin.user:\n name: \"{{ item }}\"\n loop: \"{{ ssh_users_to_create | map(attribute='groups') | flatten | unique }}\"\n become: true\n\n- name: Create defaults groups\n ansible.builtin.user:\n name... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 2345,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/ssh_users_delete | 61 | [
"no_license"
] | [
{
"path": "src/roles/ssh_users_delete/tasks/main.yml",
"content": "# - name: Getting process IDs\n# community.general.pids:\n# pattern: \".*\"\n# register: all_pids\n\n# - ansible.builtin.debug:\n# msg: \"{{ all_pids }}\"\n\n# - name: Filter and set user-specific PIDs\n# set_fact:\n# user_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 668,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/ssh_users_keygen | 61 | [
"no_license"
] | [
{
"path": "src/roles/ssh_users_keygen/tasks/main.yml",
"content": "- name: Filter users with key_dir and key_name defined\n set_fact:\n users_with_keys: >-\n {{\n ssh_users_to_create\n | selectattr('key_dir', 'defined')\n | selectattr('key_name', 'defined')\n | list\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 732,
"all_permissive": false
} |
ansible_role | tristiisch/ansible | 6f65fa7731f9b50f5b6b447005be477be62cb2e3 | 0 | src/roles/wol | 61 | [
"no_license"
] | [
{
"path": "src/roles/wol/tasks/main.yml",
"content": "- name: Wake on lan\n community.general.wakeonlan:\n mac: \"{{ mac_address }}\"\n broadcast: \"{{ wol_broadcast | default('255.255.255.255') }}\"\n port: \"{{ wol_port | default(9) }}\"\n delegate_to: localhost\n vars:\n ansible_connection... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 249,
"all_permissive": false
} |
ansible_role | edgo19/ansible_openstack_instance | be69a690302aeea68d9d7ddaaf66499fbe6ae03b | 0 | roles/launch_instances | 61 | [
"no_license"
] | [
{
"path": "roles/launch_instances/vars/main.yml",
"content": "OS_USERNAME: ansible\nOS_PASSWORD: <PASSWORD>\nOS_TENANT_NAME: ansible\nOS_AUTH_URL: http://10.10.0.10:5000/v2.0\nOSIMG: CentOS-7-x86_64-GenericCloud\nNETWORK: 1446ba1c-341c-4633-84ba-ac0787d162a2\nFLAVOR: m1.small\nSECURITY_GROUP: default\nINST_... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1513,
"all_permissive": false
} |
ansible_role | daddyingrave/infra | 4aae94fc9db3bd7c6a623611b4df88153b117d55 | 0 | roles/create-user | 61 | [
"no_license"
] | [
{
"path": "roles/create-user/tasks/main.yml",
"content": "- name: Make sure we have a 'wheel' group\n group:\n name: wheel\n state: present\n\n- name: Allow 'wheel' group to have passwordless sudo\n lineinfile:\n dest: /etc/sudoers\n state: present\n regexp: '^%wheel'\n line: '%wheel ALL... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 516,
"all_permissive": false
} |
ansible_role | daddyingrave/infra | 4aae94fc9db3bd7c6a623611b4df88153b117d55 | 0 | roles/kube-cluster-start | 61 | [
"no_license"
] | [
{
"path": "roles/kube-cluster-start/tasks/master-start.yml",
"content": "---\n- name: Pulling images required for setting up a Kubernetes cluster\n shell: kubeadm config images pull\n\n- name: Initializing Kubernetes cluster\n shell: kubeadm init --apiserver-advertise-address {{ api_server_advertise_addre... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 984,
"all_permissive": false
} |
ansible_role | daddyingrave/infra | 4aae94fc9db3bd7c6a623611b4df88153b117d55 | 0 | roles/kube-setup | 61 | [
"no_license"
] | [
{
"path": "roles/kube-setup/tasks/main.yml",
"content": "---\n- import_tasks: disable-swap.yml\n- import_tasks: repos.yml\n- import_tasks: packages.yml\n- import_tasks: network.yml\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 120
},
{
"path": "roles/kube-setup... | {
"task_files": 4,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 1020,
"all_permissive": false
} |
ansible_role | daddyingrave/infra | 4aae94fc9db3bd7c6a623611b4df88153b117d55 | 0 | roles/ssh | 61 | [
"no_license"
] | [
{
"path": "roles/ssh/tasks/main.yml",
"content": "- name: setup sshd\r\n lineinfile:\r\n dest: /etc/ssh/sshd_config\r\n regexp: '{{ item.From }}'\r\n line: '{{ item.To }}' \r\n state: present\r\n backup: yes\r\n notify:\r\n - restart ssh\r\n with_items:\r\n - { From: '^#?PasswordAuth... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1075,
"all_permissive": false
} |
ansible_role | Gritskov-Vitaliy/DevOps_TMS | 842eafeb65521e1b32c789b3f6ce6660ecff29b2 | 0 | HW20/roles/hw201 | 61 | [
"no_license"
] | [
{
"path": "HW20/roles/hw201/tasks/repo.yml",
"content": "- name: Clone git repositories\n become: true\n ansible.builtin.git:\n repo: \"{{ repo }}\"\n dest: \"{{ git_repo }}\"\n clone: yes\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 138
},
{
"p... | {
"task_files": 4,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1511,
"all_permissive": false
} |
ansible_role | Gritskov-Vitaliy/DevOps_TMS | 842eafeb65521e1b32c789b3f6ce6660ecff29b2 | 0 | HW20/roles/hw202 | 61 | [
"no_license"
] | [
{
"path": "HW20/roles/hw202/tasks/copy.yml",
"content": "- name: Copy file\n become: true\n ansible.builtin.copy:\n src: \"{{ item.file }}\"\n dest: \"{{ item.dest }}\"\n loop: \"{{ copy }}\"\n\n- name: Add permissions\n become: true\n ansible.builtin.file:\n path: \"{{ item.0.dest }}\... | {
"task_files": 4,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1021,
"all_permissive": false
} |
ansible_role | Gritskov-Vitaliy/DevOps_TMS | 842eafeb65521e1b32c789b3f6ce6660ecff29b2 | 0 | HW21/roles/hw201 | 61 | [
"no_license"
] | [
{
"path": "HW21/roles/hw201/tasks/install.yml",
"content": "- name: Add Docker on Centos\n become: true\n ansible.builtin.get_url:\n url: https://download.docker.com/linux/centos/docker-ce.repo\n dest: /etc/yum.repos.d/\n when: ansible_facts['os_family'] == \"RedHat\"\n\n- name: Add Docker on Ubunt... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1346,
"all_permissive": false
} |
ansible_role | Gritskov-Vitaliy/DevOps_TMS | 842eafeb65521e1b32c789b3f6ce6660ecff29b2 | 0 | HW21/roles/hw202 | 61 | [
"no_license"
] | [
{
"path": "HW21/roles/hw202/templates/script.j2",
"content": "#!/bin/bash\nTime=$(timedatectl | grep \"Local\")\nIP=$(hostname -I)\necho \"$Time\" | sudo tee -a {{ logfile }}\necho \" IP: $IP\" | sudo tee -a {{ logfile }}\n",
"license_type": "no_license",
"detected_licenses": [],
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 504,
"all_permissive": false
} |
ansible_role | Gritskov-Vitaliy/DevOps_TMS | 842eafeb65521e1b32c789b3f6ce6660ecff29b2 | 0 | HW22/roles/hw22 | 61 | [
"no_license"
] | [
{
"path": "HW22/roles/hw22/tasks/log_service.yml",
"content": "- name: Create template files for log service \n become: true\n ansible.builtin.template:\n src: \"{{ item.src }}\"\n dest: \"{{ item.dest }}\"\n owner: \"{{ item.owner }}\"\n mode: \"{{ item.mode }}\"\n loop: \"{{ log_service... | {
"task_files": 6,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 10,
"total_bytes": 3674,
"all_permissive": false
} |
ansible_role | Gritskov-Vitaliy/DevOps_TMS | 842eafeb65521e1b32c789b3f6ce6660ecff29b2 | 0 | HW23/roles/hw23 | 61 | [
"no_license"
] | [
{
"path": "HW23/roles/hw23/tasks/file.yml",
"content": "- name: Create file\n become: true\n ansible.builtin.file:\n path: \"{{ file.name }}\"\n state: touch\n mode: \"{{ file.mode }}\"\n when: file.create == \"yes\"\n\n- name: Get stats of a file\n ansible.builtin.stat:\n path: \"{{ fi... | {
"task_files": 5,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 4726,
"all_permissive": false
} |
ansible_role | Francesco7-del/AnsibleEsercizi | d027b92be0613fc7f151d9e2ac7790b4cc24e97c | 0 | Esercizio2/roles/common | 55 | [
"no_license"
] | [
{
"path": "Esercizio2/roles/common/tasks/main.yml",
"content": "- name: Stampa un messaggio\n debug:\n msg: \"Questo è un messaggio di stampa dal ruolo common\"\n #stampa var test\n- name: test var fe \n debug:\n var: fe_vars\n tags: ese2",
"license_type": "no_license",
"detected_licenses":... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 174,
"all_permissive": false
} |
ansible_role | Francesco7-del/AnsibleEsercizi | d027b92be0613fc7f151d9e2ac7790b4cc24e97c | 0 | Esercizio3/roles/docker_install | 55 | [
"no_license"
] | [
{
"path": "Esercizio3/roles/docker_install/tasks/debian_install.yml",
"content": "\n# Aggiunta repo per sistemi Debian\n- name: Add Docker repository for Debian\n apt_repository:\n repo: \"{{repo_baseurl_debian_family}}\"\n state: present\n\n# Installa pacchetti necessari\n- name: Install/Upgrade Doc... | {
"task_files": 4,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 8,
"total_bytes": 6303,
"all_permissive": false
} |
ansible_role | Francesco7-del/AnsibleEsercizi | d027b92be0613fc7f151d9e2ac7790b4cc24e97c | 0 | Esercizio_1/roles/be | 55 | [
"no_license"
] | [
{
"path": "Esercizio_1/roles/be/tasks/main.yml",
"content": "\n \n- name: Importa le task da return.yml\n include_tasks: roles/common/tasks/return.yml\n\n ",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 94
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 94,
"all_permissive": false
} |
ansible_role | Francesco7-del/AnsibleEsercizi | d027b92be0613fc7f151d9e2ac7790b4cc24e97c | 0 | Esercizio_1/roles/common | 55 | [
"no_license"
] | [
{
"path": "Esercizio_1/roles/common/tasks/return.yml",
"content": "- name: Esempio di task con valore di ritorno\n set_fact:\n my_variable: \" valore di RETURN \"\n- debug:\n msg: \"{{ my_variable }}.\"\n\n #esempio look up --mpstra il contenutoi del file ciao \n- name: Leggi il file Ciao\n ansible... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 366,
"all_permissive": false
} |
ansible_role | deepmindhackathon/service_start | d3a47121d67b4cb6cda3e9f1037da7f52b658f87 | 0 | roles/service_start | 55 | [
"no_license"
] | [
{
"path": "roles/service_start/tasks/main.yml",
"content": "---\n- name: Start the service\n ansible.builtin.service:\n name: \"{{ service_name }}\"\n state: started\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 107
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 107,
"all_permissive": false
} |
ansible_role | 1PipeTeaseOps/ica0002 | edd84752f763bc13daf61ada3846dffdad274748 | 0 | roles/bind | 55 | [
"no_license"
] | [
{
"path": "roles/bind/templates/db.reverse.j2",
"content": "$TTL 604800\n@ IN SOA ns1.{{ domain_name }}. admin.{{ domain_name }}. (\n 2 ; Serial\n 604800 ; Refresh\n 86400 ; Retry\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 7,
"total_bytes": 5059,
"all_permissive": false
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.