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 | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | nginx/roles/linux_nginx_start_server | 7,642 | [
"no_license"
] | [
{
"path": "nginx/roles/linux_nginx_start_server/tasks/main.yml",
"content": "- name: ensure nginx service is started\n service:\n name: nginx\n state: started\n enabled: yes",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 102
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 102,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | nginx/roles/linux_nginx_stop_server | 7,642 | [
"no_license"
] | [
{
"path": "nginx/roles/linux_nginx_stop_server/tasks/main.yml",
"content": "- name: ensure nginx service is stopped\n service:\n name: nginx\n state: stopped\n enabled: no",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 101
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 101,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | openscap/roles/linux_system_scan_openscap | 7,642 | [
"no_license"
] | [
{
"path": "openscap/roles/linux_system_scan_openscap/files/openscap_scan.sh",
"content": "#!/bin/bash\n\nDATE=$(date +%m%d%Y)\n\n# Download oval file\nwget -O /var/tmp/com.ubuntu.$(lsb_release -cs).usn.oval.xml.bz2 https://security-metadata.canonical.com/oval/com.ubuntu.$(lsb_release -cs).usn.oval.xml.bz2\n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1107,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | openscap/roles/linux_system_update_securityfix | 7,642 | [
"no_license"
] | [
{
"path": "openscap/roles/linux_system_update_securityfix/tasks/main.yml",
"content": "- name: ensure securityfix packages updated\n apt:\n name: \"{{ item }}\"\n state: present\n update_cache: yes\n with_items:\n - \"{{ securityfix_package_updates }}\"\n",
"license_type": "no_license",
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 266,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemcronmgmt/roles/linux_create_cronjob_entry | 7,642 | [
"no_license"
] | [
{
"path": "systemcronmgmt/roles/linux_create_cronjob_entry/files/passwordexpirynotify.sh",
"content": "#!/bin/bash\n\nfrom=<EMAIL>\nto=<EMAIL> # replace with required system admin email id which can receive emails\nuser=$1\n\nexpirydate=`chage -l $user | grep -i \"^password expires\" | awk -F\": \" '{pri... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 2443,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemcronmgmt/roles/linux_install_cron | 7,642 | [
"no_license"
] | [
{
"path": "systemcronmgmt/roles/linux_install_cron/tasks/main.yml",
"content": "- name: ensure cron management packages installed\n dnf:\n name: crontabs, cronie, cronie-anacron\n state: present\n\n- name: ensure crond service is running and enabled\n service:\n name: crond\n state: started\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 241,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemlocalmgmt/roles/linux_get_formatted_date | 7,642 | [
"no_license"
] | [
{
"path": "systemlocalmgmt/roles/linux_get_formatted_date/tasks/main.yml",
"content": "- name: get date in date, time and timezone format\n shell: date +\"%F_%T_%Z\"\n register: date_output\n\n- name: print formatted date\n debug: msg=\"{{ date_output.stdout }}\"\n\n- name: get default date in utc\n she... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 483,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemlocalmgmt/roles/linux_get_hardware_clock | 7,642 | [
"no_license"
] | [
{
"path": "systemlocalmgmt/roles/linux_get_hardware_clock/tasks/main.yml",
"content": "- name: get hardware clock\n shell: hwclock\n register: hwclock_output\n\n- name: print hardware clock\n debug: msg=\"{{ hwclock_output.stdout }}\"",
"license_type": "no_license",
"detected_licenses": [],
"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 143,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemlocalmgmt/roles/linux_get_system_locale | 7,642 | [
"no_license"
] | [
{
"path": "systemlocalmgmt/roles/linux_get_system_locale/tasks/main.yml",
"content": "- name: get system locale settings\n shell: localectl status\n register: locale_output\n\n- name: print system locale settings\n debug: msg=\"{{ locale_output.stdout_lines }}\"\n\n- name: list available locales\n shell... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 542,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemlocalmgmt/roles/linux_get_system_time | 7,642 | [
"no_license"
] | [
{
"path": "systemlocalmgmt/roles/linux_get_system_time/tasks/main.yml",
"content": "- name: get system time\n shell: timedatectl\n register: time_output\n\n- name: print system time\n debug: msg=\"{{ time_output.stdout_lines }}\"\n\n- name: list timezones\n shell: timedatectl list-timezones\n register:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 311,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemlocalmgmt/roles/linux_set_system_locale | 7,642 | [
"no_license"
] | [
{
"path": "systemlocalmgmt/roles/linux_set_system_locale/tasks/main.yml",
"content": "- name: set system locale\n shell: localectl set-locale LANG=\"{{ locale }}\"\n\n- name: set x11 and virtual console keymap\n shell: localectl set-x11-keymap \"{{ map }}\"",
"license_type": "no_license",
"detecte... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 192,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemlocalmgmt/roles/linux_set_system_timezone | 7,642 | [
"no_license"
] | [
{
"path": "systemlocalmgmt/roles/linux_set_system_timezone/defaults/main.yml",
"content": "timezone: \"Asia/Kolkata\"",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 24
},
{
"path": "systemlocalmgmt/roles/linux_set_system_timezone/tasks/main.yml",
"content": "-... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 102,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemlocalmgmt/roles/linux_sync_hardware_clock | 7,642 | [
"no_license"
] | [
{
"path": "systemlocalmgmt/roles/linux_sync_hardware_clock/tasks/main.yml",
"content": "- name: important note\n debug: msg=\"If you use NTP, the hardware clock is automatically synchronized to the system clock every 11 minutes, Also it is recommended to keep the hardware clock in UTC\"\n\n- name: sync har... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 310,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemlocalmgmt/roles/linux_sync_system_time | 7,642 | [
"no_license"
] | [
{
"path": "systemlocalmgmt/roles/linux_sync_system_time/tasks/main.yml",
"content": "- name: sync system time with ntp server\n shell: timedatectl set-ntp \"{{ sync_time_with_ntp }}\"",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 96
},
{
"path": "systemlocalmgmt... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 121,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systempackagemgmt/roles/linux_dnf_transaction_redo | 7,642 | [
"no_license"
] | [
{
"path": "systempackagemgmt/roles/linux_dnf_transaction_redo/vars/main.yml",
"content": "---\ntransactionID: 15",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 21
},
{
"path": "systempackagemgmt/roles/linux_dnf_transaction_redo/tasks/main.yml",
"content": "- n... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 206,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systempackagemgmt/roles/linux_dnf_transaction_undo | 7,642 | [
"no_license"
] | [
{
"path": "systempackagemgmt/roles/linux_dnf_transaction_undo/tasks/main.yml",
"content": "- name: dnf transaction undo\n shell: dnf history undo \"{{ transactionID }}\" -y\n register: transundo_output\n\n- name: print transaction undo output\n debug: msg=\"{{ transundo_output }}\"",
"license_type": ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 185,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systempackagemgmt/roles/linux_install_all_updates | 7,642 | [
"no_license"
] | [
{
"path": "systempackagemgmt/roles/linux_install_all_updates/tasks/main.yml",
"content": "- name: linux install all updates\n dnf:\n name: \"*\"\n state: latest",
"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 | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systempackagemgmt/roles/linux_install_security_updates | 7,642 | [
"no_license"
] | [
{
"path": "systempackagemgmt/roles/linux_install_security_updates/tasks/main.yml",
"content": "- name: install security updates only\n dnf:\n name: \"*\"\n state: latest\n security: yes\n register: securityupdate_output\n\n- name: print security updates\n debug: msg=\"{{ securityupdate_output }}... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 203,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systempackagemgmt/roles/linux_installed_packages | 7,642 | [
"no_license"
] | [
{
"path": "systempackagemgmt/roles/linux_installed_packages/tasks/main.yml",
"content": "- name: gather the package facts\n package_facts:\n manager: auto\n\n- name: print the package facts\n debug: \n var: ansible_facts.packages",
"license_type": "no_license",
"detected_licenses": [],
"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 142,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systempackagemgmt/roles/linux_package_update_history | 7,642 | [
"no_license"
] | [
{
"path": "systempackagemgmt/roles/linux_package_update_history/tasks/main.yml",
"content": "- name: get package update history\n shell: dnf history list\n register: dnfhistory_output\n\n- name: print package update history\n debug: msg=\"{{ dnfhistory_output.stdout_lines }}\" ",
"license_type": "no_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 181,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systempackagemgmt/roles/linux_update_exclude_packages | 7,642 | [
"no_license"
] | [
{
"path": "systempackagemgmt/roles/linux_update_exclude_packages/tasks/main.yml",
"content": "- name: linux system management\n shell: yum update --exclude=java* --exclude=tzdata* -y\n\n- name: get kernel packages\n shell: rpm -qa | grep kernel\n register: kernel_packages\n\n- name: print kernel packages... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 257,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemsecuritymgmt/roles/linux_file_integrity_scan | 7,642 | [
"no_license"
] | [
{
"path": "systemsecuritymgmt/roles/linux_file_integrity_scan/files/aidecheck.sh",
"content": "#!/bin/bash\n\n# file integrity check\n/usr/sbin/aide --check > /data/aide/report.txt_$(date +%F_%H_%M_%Z).txt 2>&1",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 112
},
{
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1049,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemsecuritymgmt/roles/linux_get_system_crypto_policy | 7,642 | [
"no_license"
] | [
{
"path": "systemsecuritymgmt/roles/linux_get_system_crypto_policy/tasks/main.yml",
"content": "- name: get the current crypto policy applied to system\n shell: update-crypto-policies --show\n register: cryptopolicy_output\n\n- name: print current crypto policy applied to system\n debug: msg=\"{{ cryptop... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 229,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemsecuritymgmt/roles/linux_post_installation_check | 7,642 | [
"no_license"
] | [
{
"path": "systemsecuritymgmt/roles/linux_post_installation_check/tasks/main.yml",
"content": "- name: ensure firewalld service is running\n service:\n name: firewalld\n state: started\n enabled: yes\n\n- name: ensure print service cups not installed\n dnf:\n name: cups\n state: absent",
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 199,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemsecuritymgmt/roles/linux_set_system_crypto_policy | 7,642 | [
"no_license"
] | [
{
"path": "systemsecuritymgmt/roles/linux_set_system_crypto_policy/tasks/main.yml",
"content": "- name: get the current crypto policy applied to system\n shell: update-crypto-policies --set \"{{ crypto_policy }}\"\n register: cryptopolicy_output\n\n- name: print current crypto policy applied to system\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 276,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemselinuxmgmt/roles/linux_selinux_allow_port | 7,642 | [
"no_license"
] | [
{
"path": "systemselinuxmgmt/roles/linux_selinux_allow_port/tasks/main.yml",
"content": "- name: selinxu allow http port\n shell: semanage port -a -t http_port_t -p tcp {{ apache_http_port }}\n\n- name: selinxu allow https port\n shell: semanage port -a -t http_port_t -p tcp {{ apache_https_port }}",
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 259,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemtroubleshoot/roles/linux_generate_sos_report | 7,642 | [
"no_license"
] | [
{
"path": "systemtroubleshoot/roles/linux_generate_sos_report/vars/main.yml",
"content": "---\nreport_dir: '/var/tmp/reports'\nreport_case: 'test'\nreport_args:\n - --all-logs\n - --batch\n - --quiet\n - --verify\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 120
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 523,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemusermgmt/roles/linux_system_user_add | 7,642 | [
"no_license"
] | [
{
"path": "systemusermgmt/roles/linux_system_user_add/vars/main.yml",
"content": "---\nusers:\n- alice\n- bob\n- dean",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 31
},
{
"path": "systemusermgmt/roles/linux_system_user_add/tasks/main.yml",
"content": "- name... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 221,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemusermgmt/roles/linux_system_user_details | 7,642 | [
"no_license"
] | [
{
"path": "systemusermgmt/roles/linux_system_user_details/tasks/main.yml",
"content": "- name: get linux user password age and settings\n shell: chage -l \"{{ item }}\"\n with_items:\n - \"{{ userlist }}\"\n register: userdata_output\n\n- name: print linux user password age and settings\n debug: msg=\"... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 560,
"all_permissive": false
} |
ansible_role | tdhanapl/anisble_realtime | 6a07933b2801530c193b7b00dd69c4c49b3bdd26 | 1 | systemusermgmt/roles/linux_user_password_expirynotify | 7,642 | [
"no_license"
] | [
{
"path": "systemusermgmt/roles/linux_user_password_expirynotify/tasks/main.yml",
"content": "- name: notify on system user password expiry\n script: passexpirynotify.sh \"{{ item }}\"\n with_items:\n - \"{{ users }}\"\n register: expiry_output\n\n- name: print the expiry notification\n debug: msg=\"{{... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 292,
"all_permissive": false
} |
ansible_role | festeh/infra | ab6b2f1bdbc05a62bbf5fb0cf00173fa91a2e384 | 0 | ansible/roles/common | 7,642 | [
"no_license"
] | [
{
"path": "ansible/roles/common/tasks/main.yml",
"content": "- name: Update package cache\n apt:\n update_cache: yes\n become: yes\n \n- name: Upgrade system packages\n apt:\n upgrade: safe\n become: yes\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 146
}
... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 146,
"all_permissive": false
} |
ansible_role | AsoTora/LinuxDevOpsLab-Ansible | 2737e0f5fb373f46d24d72408cfe8d54bbcea3ca | 0 | day2/roles/common | 7,642 | [
"no_license"
] | [
{
"path": "day2/roles/common/tasks/main.yml",
"content": "- name: upgrade all packages, excluding kernel\n yum:\n name: '*'\n state: latest\n exclude: kernel*\n become: yes\n\n- name: check if facts.d exhists\n file:\n path: /etc/ansible/facts.d\n recurse: yes\n state: directory\n beco... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 275,
"all_permissive": false
} |
ansible_role | AsoTora/LinuxDevOpsLab-Ansible | 2737e0f5fb373f46d24d72408cfe8d54bbcea3ca | 0 | day2/roles/devops_user | 7,642 | [
"no_license"
] | [
{
"path": "day2/roles/devops_user/tasks/main.yml",
"content": "- name: create user groups\n group: name=\"{{ usr }}\" state=present\n become: yes\n\n- name: create user accounts\n user: \"name={{ usr }} groups={{ usr }}\"\n become: yes\n\n- name: add authorized keys\n authorized_key:\n user: \"{{ us... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 911,
"all_permissive": false
} |
ansible_role | AsoTora/LinuxDevOpsLab-Ansible | 2737e0f5fb373f46d24d72408cfe8d54bbcea3ca | 0 | day2/roles/java | 7,642 | [
"no_license"
] | [
{
"path": "day2/roles/java/handlers/main.yml",
"content": "- name: \"java_facts\"\n copy: \n content: >\n {\n \"version\": \"{{ java_version.stdout }}\",\n \"build\": \"{{ java_build.stdout }}\",\n \"installed\": \"{{ ansible_date_time.date }}\"\n }\n dest: /etc/ansible... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 655,
"all_permissive": false
} |
ansible_role | AsoTora/LinuxDevOpsLab-Ansible | 2737e0f5fb373f46d24d72408cfe8d54bbcea3ca | 0 | day2/roles/tomcat | 7,642 | [
"no_license"
] | [
{
"path": "day2/roles/tomcat/tasks/main.yml",
"content": "- name: add group \"tomcat\"\n group: name=tomcat\n become: true\n\n- name: add user \"tomcat\"\n user: name=tomcat group=tomcat home=/usr/share/tomcat createhome=no\n become: true\n\n- name: download tomcat\n get_url: \"url={{ link }} dest=/opt... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2439,
"all_permissive": false
} |
ansible_role | AsoTora/LinuxDevOpsLab-Ansible | 2737e0f5fb373f46d24d72408cfe8d54bbcea3ca | 0 | day3/roles/devops_user | 7,642 | [
"no_license"
] | [
{
"path": "day3/roles/devops_user/tasks/main.yml",
"content": "---\n- name: create user group\n group:\n name: \"{{ primary_group }}\"\n gid: \"{{ gid }}\"\n state: present\n become: yes\n\n- name: create user accounts\n user:\n name: \"{{ usr }}\"\n uid: \"{{ uid }}\"\n group: \"{{ pri... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 963,
"all_permissive": false
} |
ansible_role | AsoTora/LinuxDevOpsLab-Ansible | 2737e0f5fb373f46d24d72408cfe8d54bbcea3ca | 0 | day4/roles/httpd | 7,642 | [
"no_license"
] | [
{
"path": "day4/roles/httpd/tasks/main.yml",
"content": "- name: install httpd\n yum: name=httpd state=latest\n become: yes\n\n- name: copy httpd configuration\n copy: src=httpd.conf dest=/etc/httpd/conf.d/httpd.conf\n become: yes\n notify: \n - restart and enable httpd\n - httpd_facts\n\n- name:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 442,
"all_permissive": false
} |
ansible_role | AsoTora/LinuxDevOpsLab-Ansible | 2737e0f5fb373f46d24d72408cfe8d54bbcea3ca | 0 | day4/roles/java | 7,642 | [
"no_license"
] | [
{
"path": "day4/roles/java/tasks/main.yml",
"content": "---\n- name: copy java archive\n copy:\n src: \"jdk-{{ java_release }}-linux-x64.tar.gz\"\n dest: \"/opt/oracle/java/\"\n become: yes\n register: out\n ignore_errors: yes\n\n- name: custom error\n fail:\n msg: \"Source java version distri... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1283,
"all_permissive": false
} |
ansible_role | AsoTora/LinuxDevOpsLab-Ansible | 2737e0f5fb373f46d24d72408cfe8d54bbcea3ca | 0 | day4/roles/tomcat | 7,642 | [
"no_license"
] | [
{
"path": "day4/roles/tomcat/tasks/main.yml",
"content": "- name: add group \"tomcat\"\n group: name=tomcat\n become: true\n\n- name: add user \"tomcat\"\n user: name=tomcat group=tomcat home=/usr/share/tomcat createhome=no\n become: true\n\n- name: download tomcat\n get_url: \"url={{ link }} dest=/opt... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1652,
"all_permissive": false
} |
ansible_role | AsoTora/LinuxDevOpsLab-Ansible | 2737e0f5fb373f46d24d72408cfe8d54bbcea3ca | 0 | playbooks/roles/hello | 7,642 | [
"no_license"
] | [
{
"path": "playbooks/roles/hello/tasks/main.yml",
"content": "---\n# tasks file for hello\n # Play Name\n- name: Hello World Play\n debug: msg=\"{{ msg }}\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 91
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 91,
"all_permissive": false
} |
ansible_role | ZeroTouchDeployment/homelab-k3s | d8fbacdef262a7846637ce19c0760af79d180620 | 0 | roles/cert-manager | 7,642 | [
"no_license"
] | [
{
"path": "roles/cert-manager/tasks/uninstall.yaml",
"content": "---\n- name: cert-manager - Uninstall\n shell:\n command: |\n helm delete cert-manager -namespace {{ certmanager_namespace }}\n kubectl delete namespace {{ certmanager_namespace }}\n kubectl delete -f https://github.com/cert... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1255,
"all_permissive": false
} |
ansible_role | ZeroTouchDeployment/homelab-k3s | d8fbacdef262a7846637ce19c0760af79d180620 | 0 | roles/dashboard | 7,642 | [
"no_license"
] | [
{
"path": "roles/dashboard/tasks/main.yaml",
"content": "---\n- name: k3s dashboard - Verify if kubernetes dashboard via Helm is deployed\n shell:\n cmd: helm list -A -o json | jq '.[]|select(.name==\"kubernetes-dashboard\")'| jq -r .status\n register: helm_check\n\n # Add helm repository\n- name: k3s... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 2750,
"all_permissive": false
} |
ansible_role | ZeroTouchDeployment/homelab-k3s | d8fbacdef262a7846637ce19c0760af79d180620 | 0 | roles/helm | 7,642 | [
"no_license"
] | [
{
"path": "roles/helm/tasks/main.yaml",
"content": "---\n # Install and setup Helm\n # See https://helm.sh/docs/intro/install/\n- name: Helm - Extract Helm archive file\n shell: \n cmd: curl {{helm_repository_url}} | sh\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 350,
"all_permissive": false
} |
ansible_role | ZeroTouchDeployment/homelab-k3s | d8fbacdef262a7846637ce19c0760af79d180620 | 0 | roles/longhorn | 7,642 | [
"no_license"
] | [
{
"path": "roles/longhorn/defaults/main.yaml",
"content": "---\nlonghorn_repository_url: \"https://charts.longhorn.io\"\nlonghorn_nodeport : 39090\nlonghorn_username : \"\"\nloghorn_password : \"\"\n\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 147
... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 1695,
"all_permissive": false
} |
ansible_role | ZeroTouchDeployment/homelab-k3s | d8fbacdef262a7846637ce19c0760af79d180620 | 0 | roles/minio | 7,642 | [
"no_license"
] | [
{
"path": "roles/minio/defaults/main.yaml",
"content": "---\nminio_repository_url: \"https://operator.min.io/\"\nminio_namespace : \"minio-operator\"\nminio_version : \"v4.5.8\"\nminio_nodeport : 39000",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 150
},... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 862,
"all_permissive": false
} |
ansible_role | ZeroTouchDeployment/homelab-k3s | d8fbacdef262a7846637ce19c0760af79d180620 | 0 | roles/nexus | 7,642 | [
"no_license"
] | [
{
"path": "roles/nexus/tasks/install.yaml",
"content": "---\n # Create namespace\n- name: nexus - Create namespace\n shell: \n cmd: kubectl create namespace {{ nexus_namespace }}\n\n- name: nexus - Verify if nexus via Helm is deployed\n shell:\n cmd: helm list -A -o json |jq '.[]|select(.name==\"ne... | {
"task_files": 3,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 3051,
"all_permissive": false
} |
ansible_role | ZeroTouchDeployment/homelab-k3s | d8fbacdef262a7846637ce19c0760af79d180620 | 0 | roles/traefik | 7,642 | [
"no_license"
] | [
{
"path": "roles/traefik/tasks/uninstall.yaml",
"content": "---\n\n # Uninstall k3s dashboard\n- name: Uninstall - Verify if k3s dashboard via Helm is deployed\n shell: \n cmd: helm list -A -o json | jq '.[]|select(.name==\"kubernetes-dashboard\")'| jq -r .status\n register: k3s_dashboard_check\n\n- n... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 2998,
"all_permissive": false
} |
ansible_role | ZeroTouchDeployment/homelab-k3s | d8fbacdef262a7846637ce19c0760af79d180620 | 0 | roles/vault | 7,642 | [
"no_license"
] | [
{
"path": "roles/vault/tasks/install.yaml",
"content": "---\n- name: vault - Verify if Vault via Helm is deployed\n shell: /usr/local/bin/helm list -A -o json |jq '.[]|select(.name==\"vault\")'| jq -r .status\n register: helm_check\n\n # Add kubernetes-dashboard repository\n- name: vault - Add Helm vau... | {
"task_files": 4,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 6,
"total_bytes": 3791,
"all_permissive": false
} |
ansible_role | Thierry1808/projet-ic_group | 0a473bbf3e1adf2e85a7abf75041c088b5a853ec | 0 | sources/ansible-ressouces/roles/install-docker | 7,642 | [
"no_license"
] | [
{
"path": "sources/ansible-ressouces/roles/install-docker/tasks/main.yml",
"content": "---\n- name: Update System\n yum:\n name: \"*\"\n state: latest\n- name: Install pre-requisites\n yum:\n name: \"{{ item }}\"\n state: present\n with_items:\n - yum-utils\n - device-mapper-persistent-... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1525,
"all_permissive": false
} |
ansible_role | ryouma-nagare/redmine-update | 7dd66b1c7ef7524f5c59c1cb7e44a963c2f43571 | 0 | roles/redmine-update | 7,642 | [
"no_license"
] | [
{
"path": "roles/redmine-update/tasks/main.yml",
"content": "##############################################################\n# redmine maintenance\n##############################################################\n- name: create workdir\n file:\n path: \"/tmp/redmine-{{ inventory_hostname }}\"\n state:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 3,
"total_bytes": 3490,
"all_permissive": false
} |
ansible_role | gchait/aws-poc | d8ad8e3c3b2f4368140e4673b48e6b5214a34902 | 0 | ansible/roles/configure-docker | 7,642 | [
"no_license"
] | [
{
"path": "ansible/roles/configure-docker/tasks/main.yml",
"content": "---\n- name: Get the official Docker installation script\n get_url:\n url: \"{{ get_docker_url }}\"\n dest: \"{{ get_docker_dest }}\"\n\n- name: Install Docker\n command: \"/bin/sh {{ get_docker_dest }}\"\n become: yes\n...\n",
... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 301,
"all_permissive": false
} |
ansible_role | gchait/aws-poc | d8ad8e3c3b2f4368140e4673b48e6b5214a34902 | 0 | ansible/roles/configure-nginx-container | 7,642 | [
"no_license"
] | [
{
"path": "ansible/roles/configure-nginx-container/defaults/main.yml",
"content": "---\ndocker_package: docker-ce\nremote_dir: /home/ubuntu\nmy_name: Guy\nhtml_file_name: index.html\nimage_name: name-nginx-i\ncontainer_name: name-nginx-c\nport_map: 8080:80\n...\n",
"license_type": "no_license",
"det... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 4,
"total_bytes": 1334,
"all_permissive": false
} |
ansible_role | bsherman/k3s-cluster | 23233092407fa6960a78d9e3992d97a45763b72c | 1 | provision/ansible/roles/ubuntu | 7,642 | [
"no_license"
] | [
{
"path": "provision/ansible/roles/ubuntu/tasks/user.yml",
"content": "---\n- name: Add user to sudoers\n copy:\n content: \"{{ ansible_user }} ALL=(ALL:ALL) NOPASSWD:ALL\"\n dest: \"/etc/sudoers.d/{{ ansible_user }}_nopasswd\"\n mode: \"0440\"\n\n- name: Add additional user SSH public keys\n aut... | {
"task_files": 4,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1853,
"all_permissive": false
} |
ansible_role | dungbun31/VDT_lab_ansible | 2ff4873d7116cc78aad603a158145a37640286a1 | 0 | roles/api | 7,642 | [
"no_license"
] | [
{
"path": "roles/api/defaults/main.yml",
"content": "---\n# defaults file for api\ndocker_image_name: \"dungxbuns/vdt-lab-backend:v6\"\ncontainer_name: \"vdt-lab-backend\"\nNODE_LOCAL_PORT: \"6868\"\nNODE_DOCKER_PORT: \"8080\"\ndocker_network_backend: \"backend\"\ndocker_network_frontend: \"frontend\"\nDB_P... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1308,
"all_permissive": false
} |
ansible_role | dungbun31/VDT_lab_ansible | 2ff4873d7116cc78aad603a158145a37640286a1 | 0 | roles/db | 7,642 | [
"no_license"
] | [
{
"path": "roles/db/tasks/main.yml",
"content": "---\n# tasks file for db\n- name: Pull PostgreSQL Docker image\n docker_image:\n name: \"{{ postgresql_image }}\"\n source: pull\n \n- name: Create PostgreSQL data volume\n docker_volume:\n name: \"{{ postgresql_volume_name }}\"\n\n- name: Creat... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1077,
"all_permissive": false
} |
ansible_role | dungbun31/VDT_lab_ansible | 2ff4873d7116cc78aad603a158145a37640286a1 | 0 | roles/docker | 7,642 | [
"no_license"
] | [
{
"path": "roles/docker/defaults/main.yml",
"content": "---\n# defaults file for docker\n\ndocker_network_name2: \"backend\"",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 63
},
{
"path": "roles/docker/tasks/main.yml",
"content": "---\n# tasks file for roles/d... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 799,
"all_permissive": false
} |
ansible_role | dungbun31/VDT_lab_ansible | 2ff4873d7116cc78aad603a158145a37640286a1 | 0 | roles/web | 7,642 | [
"no_license"
] | [
{
"path": "roles/web/tasks/main.yml",
"content": "---\n# tasks file for web\n- name: Pull Docker image\n docker_image:\n name: \"{{ docker_image_name }}\"\n source: pull\n\n- name: Create docker network1 {{ansible_ssh_host}}\n docker_network:\n name: \"{{ docker_network_frontend }}\"\n state: ... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 831,
"all_permissive": false
} |
ansible_role | MeetGadhiya/ansible-users | 862c1f3b3faa9293917a75889a89e3b9ddf63d54 | 0 | roles/ansible-users | 7,643 | [
"no_license"
] | [
{
"path": "roles/ansible-users/defaults/main.yml",
"content": "---\r\n\r\nadmin_user: []\r\n# List of admin_users to create\r\n# Example:\r\n# admin_user:\r\n# - username: sanjara\r\n# ssh_keys: \r\n# - \"ssh-key of a user\"\r\n\r\ndeveloper_user: []\r\n# List of developer_users to creat... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2192,
"all_permissive": false
} |
ansible_role | zhenghongli/ansible-k8s | fc5b69a2f1db42a859621132a0c6cd63c1ee98b4 | 0 | ansible/roles/common | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/common/handlers/main.yml",
"content": "---\n# handlers file for common\n\n- name: daemon-reload\n systemd:\n daemon_reload: yes\n\n- name: kubelet restart\n service:\n name: kubelet\n enabled: yes\n state: started\n\n- name: docker restart\n service:\n name: docker... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 597,
"all_permissive": false
} |
ansible_role | zhenghongli/ansible-k8s | fc5b69a2f1db42a859621132a0c6cd63c1ee98b4 | 0 | ansible/roles/custom-qualtomm | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/custom-qualtomm/tasks/main.yaml",
"content": "- name: Taint all master node\n command: kubectl taint nodes --all node-role.kubernetes.io/master-\n become: yes\n environment: \n KUBECONFIG: /home/{{hostvars['k8s'].ansible_user}}/.kube/config\n\n- name: Set master node label\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 720,
"all_permissive": false
} |
ansible_role | zhenghongli/ansible-k8s | fc5b69a2f1db42a859621132a0c6cd63c1ee98b4 | 0 | ansible/roles/docker | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/docker/handlers/main.yml",
"content": "---\n# handlers file for common\n\n- name: daemon-reload\n systemd:\n daemon_reload: yes\n\n- name: Restart docker service\n service:\n name: docker\n enabled: yes\n state: restarted\n become: yes\n",
"license_type": "no_lice... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 2451,
"all_permissive": false
} |
ansible_role | zhenghongli/ansible-k8s | fc5b69a2f1db42a859621132a0c6cd63c1ee98b4 | 0 | ansible/roles/ha-master | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/ha-master/tasks/main.yml",
"content": "---\n- name: Create k8s manifests director\n file:\n path: /etc/kubernetes/manifests\n state: directory\n owner: root\n group: root\n mode: '0755'\n become: yes\n\n- name: Create kubernetes haproxy yaml\n shell:\n cmd: |\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 3885,
"all_permissive": false
} |
ansible_role | zhenghongli/ansible-k8s | fc5b69a2f1db42a859621132a0c6cd63c1ee98b4 | 0 | ansible/roles/heapster | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/heapster/tasks/main.yml",
"content": "- name: download heapster by git\n git: \n repo: https://github.com/kubernetes-retired/heapster.git\n dest: /home/{{hostvars['k8s'].ansible_user}}/heapster\n\n- name: install heapster\n command: \"{{item}}\"\n with_items: \n - kubectl... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 520,
"all_permissive": false
} |
ansible_role | zhenghongli/ansible-k8s | fc5b69a2f1db42a859621132a0c6cd63c1ee98b4 | 0 | ansible/roles/init | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/init/tasks/main.yml",
"content": "---\n# tasks file for init\n\n- name: copy ansible.cfg\n copy:\n src: ansible.cfg\n dest: $HOME/\n\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 99
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 99,
"all_permissive": false
} |
ansible_role | zhenghongli/ansible-k8s | fc5b69a2f1db42a859621132a0c6cd63c1ee98b4 | 0 | ansible/roles/install-kube | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/install-kube/handlers/main.yml",
"content": "---\n# handlers file for common\n\n- name: daemon-reload\n systemd:\n daemon_reload: yes\n\n- name: kubelet restart\n service:\n name: kubelet\n enabled: yes\n state: started",
"license_type": "no_license",
"detected... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1736,
"all_permissive": false
} |
ansible_role | zhenghongli/ansible-k8s | fc5b69a2f1db42a859621132a0c6cd63c1ee98b4 | 0 | ansible/roles/kubeconfig | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/kubeconfig/tasks/main.yml",
"content": "---\n# tasks file for kubeconfig\n- name: create kube directory\n file:\n path: $HOME/.kube\n mode: u=rwX,g=rX,o=rX\n state: directory\n recurse: yes\n force: yes\n become: no\n\n- name: copy admin.conf file\n copy:\n src:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 410,
"all_permissive": false
} |
ansible_role | zhenghongli/ansible-k8s | fc5b69a2f1db42a859621132a0c6cd63c1ee98b4 | 0 | ansible/roles/master | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/master/tasks/main.yml",
"content": "---\n- name: Create k8s manifests director\n file:\n path: /etc/kubernetes/manifests\n state: directory\n owner: root\n group: root\n mode: '0755'\n become: yes\n\n- name: Create kubernetes haproxy yaml\n shell:\n cmd: |\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 4944,
"all_permissive": false
} |
ansible_role | zhenghongli/ansible-k8s | fc5b69a2f1db42a859621132a0c6cd63c1ee98b4 | 0 | ansible/roles/reset | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/reset/tasks/main.yml",
"content": "---\n- name: reset kubernetes\n expect:\n command: kubeadm reset\n responses:\n 'Are you sure you want to proceed': 'y'\n become: yes\n\n- name: remove kubernetes files\n command: rm -rf /etc/cni /etc/kubernetes/ /var/lib/dockershim... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 315,
"all_permissive": false
} |
ansible_role | zhenghongli/ansible-k8s | fc5b69a2f1db42a859621132a0c6cd63c1ee98b4 | 0 | ansible/roles/uninstall-docker | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/uninstall-docker/tasks/main.yaml",
"content": "- name: uninstall old docker versions\n apt: \n name: \"{{ item }}\"\n state: absent\n with_items:\n - docker\n - docker-engine\n - docker.io\n - containerd\n - runc\n become: yes",
"license_type": "no_licens... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 191,
"all_permissive": false
} |
ansible_role | zhenghongli/ansible-k8s | fc5b69a2f1db42a859621132a0c6cd63c1ee98b4 | 0 | ansible/roles/worker | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/worker/tasks/main.yml",
"content": "---\n# tasks file for worker\n- name: substring worker token to var\n local_action: \"shell tail -n 2 kube-join-cmd.txt\"\n register: add_node_command\n\n- name: add k8s node\n shell: \"{{ add_node_command.stdout }} --ignore-preflight-errors=a... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 254,
"all_permissive": false
} |
ansible_role | vladimirsouchard/4525 | bb48510ffdb527908c5fdf492271f57ab8afc517 | 0 | roles/apache | 7,643 | [
"no_license"
] | [
{
"path": "roles/apache/tasks/instalar.yml",
"content": "- name: instalando o apache no Debian\n apt:\n name: apache2\n state: present\n update_cache: yes\n when: ansible_os_family == \"Debian\"\n\n- name: instalando o apache no RedHat\n yum:\n name: httpd\n state: present\n when: ansible_os_f... | {
"task_files": 2,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 551,
"all_permissive": false
} |
ansible_role | vladimirsouchard/4525 | bb48510ffdb527908c5fdf492271f57ab8afc517 | 0 | roles/container | 7,643 | [
"no_license"
] | [
{
"path": "roles/container/tasks/main.yml",
"content": "---\n# tasks file for container\n\n- name: Criando o volume Index para os containers\n docker_volume:\n name: index\n\n\n- name: Criando o container index1\n docker_container:\n name: index1\n image: httpd \n state: started\n volumes:\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 774,
"all_permissive": false
} |
ansible_role | vladimirsouchard/4525 | bb48510ffdb527908c5fdf492271f57ab8afc517 | 0 | roles/docker | 7,643 | [
"no_license"
] | [
{
"path": "roles/docker/tasks/main.yml",
"content": "---\n# tasks file for docker\n- name: chamando a playbook repositorio do Docker\n include: repositorio.yml\n\n- name: chamando a playbook install dos pacotes necessarios\n include: pacotes.yml\n\n- name: instalando o Docker\n include: docker.yml\n",
... | {
"task_files": 4,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 918,
"all_permissive": false
} |
ansible_role | vladimirsouchard/4525 | bb48510ffdb527908c5fdf492271f57ab8afc517 | 0 | roles/pacotes | 7,643 | [
"no_license"
] | [
{
"path": "roles/pacotes/tasks/main.yml",
"content": "---\n# tasks file for pacotes\n- name: instalando pacotes\n package:\n name: \"{{ item }}\"\n state: present\n with_items:\n - vim\n - nano\n - sl\n - cowsay\n\n- name: instalando o apel-release\n package:\n name: epel-release\n state:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 285,
"all_permissive": false
} |
ansible_role | vladimirsouchard/4525 | bb48510ffdb527908c5fdf492271f57ab8afc517 | 0 | roles/puppet | 7,643 | [
"no_license"
] | [
{
"path": "roles/puppet/tasks/agent.yml",
"content": "#- name: download repo puppet Debian\n# get_url:\n# url: https://apt.puppetlabs.com/puppet5-release-xenial.deb\n# dest: /tmp/puppet.deb\n# when: ansible_os_family == \"Debian\"\n\n#- name: instala o repositorio Debian\n# apt:\n# deb: /tmp/puppet... | {
"task_files": 3,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1227,
"all_permissive": false
} |
ansible_role | vladimirsouchard/4525 | bb48510ffdb527908c5fdf492271f57ab8afc517 | 0 | roles/web | 7,643 | [
"no_license"
] | [
{
"path": "roles/web/tasks/main.yml",
"content": "---\n# tasks file for web\n\n- name: chamando a playbook instalando\n include: instalando.yml\n\n- name: chamando a playbook do arquivo \n include: create.yml\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 156
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 156,
"all_permissive": false
} |
ansible_role | Anandakp/Ansiblewp | f6f01bf753f20e67d07462c3d9d7a077df8a88aa | 0 | roles/wordpress | 7,643 | [
"no_license"
] | [
{
"path": "roles/wordpress/tasks/main.yml",
"content": "---\n- name: Download WordPress \n get_url: url=https://wordpress.org/latest.tar.gz \n dest=/tmp/wordpress.tar.gz\n validate_certs=no\n\n- name: Extract WordPress \n unarchive: src=/tmp/wordpress.tar.gz dest=/var/www/ copy=no\n sudo: yes\n\n-... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 887,
"all_permissive": false
} |
ansible_role | lreddy563/ansible-artifactory | 94b4013eef63466e818db949efc04e62b8386b77 | 0 | roles/artifactory | 7,643 | [
"no_license"
] | [
{
"path": "roles/artifactory/tasks/artifactoryInstallation.yml",
"content": "---\n- name: artifactory | Install dependencies\n apt: pkg={{ item }} state=installed\n with_items:\n - unzip\n - net-tools\n - java-1.8.0-openjdk\n - java-1.8.0-openjdk-devel\n tags: artifactory\n\n- name: artifacto... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 2,
"total_bytes": 1000,
"all_permissive": false
} |
ansible_role | samsapti/bachelor-project | 05c5f6f5ecea1d11dfa2e4dd3b69a1c746677948 | 0 | ansible/roles/mp_spdz | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/mp_spdz/tasks/main.yml",
"content": "# vim: ft=yaml.ansible\n---\n- name: Install dependencies via apt\n ansible.builtin.apt:\n name: \"{{ pkgs }}\"\n state: present\n become_user: root\n vars:\n pkgs:\n - acl\n - automake\n - build-essential\n - clan... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1106,
"all_permissive": false
} |
ansible_role | Endron/jenkins_git_chekout | 0dad5b6175a315d8187eed5169f4b51e7b6f33ca | 0 | roles/build-server | 7,643 | [
"no_license"
] | [
{
"path": "roles/build-server/tasks/main.yml",
"content": "---\n- name: add jenkins key\n apt_key:\n url: https://jenkins-ci.org/debian/jenkins-ci.org.key\n state: present\n sudo: true\n- name: add jenkins repository\n apt_repository:\n repo: 'deb http://pkg.jenkins-ci.org/debian binary/'\n s... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 523,
"all_permissive": false
} |
ansible_role | Endron/jenkins_git_chekout | 0dad5b6175a315d8187eed5169f4b51e7b6f33ca | 0 | roles/git-server | 7,643 | [
"no_license"
] | [
{
"path": "roles/git-server/tasks/main.yml",
"content": "---\n- name: install git\n apt:\n name: git\n state: latest\n sudo: true\n- name: create folder for git repos\n file:\n path: /opt/git\n owner: \"{{ ansible_ssh_user }}\"\n state: directory\n sudo: true\n- name: clone a repo to have... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 354,
"all_permissive": false
} |
ansible_role | joyadauche/configure-ec2-server-using-ansible | b4b9617eaf0ed28f36e9019df2806fd3c8159906 | 0 | roles/create_user | 7,643 | [
"no_license"
] | [
{
"path": "roles/create_user/tasks/main.yaml",
"content": "- name: Create new linux user\n user:\n name: \"{{linux_name}}\"\n groups: \"{{user_groups}}\"\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 95
}
] | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 95,
"all_permissive": false
} |
ansible_role | joyadauche/configure-ec2-server-using-ansible | b4b9617eaf0ed28f36e9019df2806fd3c8159906 | 0 | roles/start_containers | 7,643 | [
"no_license"
] | [
{
"path": "roles/start_containers/defaults/main.yaml",
"content": "linux_name: joy\nuser_groups: adm,docker\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 40
},
{
"path": "roles/start_containers/tasks/main.yaml",
"content": "- name: Copy docker compose\n co... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 725,
"all_permissive": false
} |
ansible_role | rexding97/COMP90024CCC_ASS2 | a3d97c6ceca73c65fbd58dce293d067e85296c39 | 0 | ansible/roles/clone-github | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/clone-github/tasks/main.yaml",
"content": "---\n- name: Update and upgrade apt packages\n become: true\n apt:\n upgrade: yes\n update_cache: yes\n\n- name: Delete content & directory\n file:\n state: absent\n path: '{{ git_repo }}'\n\n- name: Get updated files from gi... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 369,
"all_permissive": false
} |
ansible_role | rexding97/COMP90024CCC_ASS2 | a3d97c6ceca73c65fbd58dce293d067e85296c39 | 0 | ansible/roles/configure-dependencies | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/configure-dependencies/tasks/main.yaml",
"content": "---\n# Install python\n- name: Install pip\n become: yes\n apt:\n name: ['python3-pip']\n state: latest\n update_cache: yes\n\n# Update python\n- name: Update pip\n become: yes\n pip:\n name: ['pip']\n state: la... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 4884,
"all_permissive": false
} |
ansible_role | rexding97/COMP90024CCC_ASS2 | a3d97c6ceca73c65fbd58dce293d067e85296c39 | 0 | ansible/roles/delete-instance | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/delete-instance/tasks/main.yaml",
"content": "- name: Delete all instances\n os_server:\n name: '{{ item.name }}'\n image: '{{ instance_image }}'\n key_name: '{{ instance_key_name }}'\n flavor: '{{ instance_flavor }}'\n availability_zone: '{{ availability_zone }}'\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 427,
"all_permissive": false
} |
ansible_role | rexding97/COMP90024CCC_ASS2 | a3d97c6ceca73c65fbd58dce293d067e85296c39 | 0 | ansible/roles/delete-security-group | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/delete-security-group/tasks/main.yaml",
"content": "# Create a security group\n- name: Create a security group\n os_security_group:\n name: '{{ item.name }}'\n description: '{{ item.description }}'\n state: absent\n loop: '{{ security_groups }}'\n\n# Create security group... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 563,
"all_permissive": false
} |
ansible_role | rexding97/COMP90024CCC_ASS2 | a3d97c6ceca73c65fbd58dce293d067e85296c39 | 0 | ansible/roles/delete-volume | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/delete-volume/tasks/main.yaml",
"content": "# Create volumes from vars\n- name: Delete volume(s) on NeCTAR\n os_volume:\n display_name: '{{ item.vol_name }}'\n size: '{{ item.vol_size }}'\n availability_zone: '{{ availability_zone }}'\n wait: yes\n timeout: 600\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 287,
"all_permissive": false
} |
ansible_role | rexding97/COMP90024CCC_ASS2 | a3d97c6ceca73c65fbd58dce293d067e85296c39 | 0 | ansible/roles/deploy-couchdb | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/deploy-couchdb/tasks/main.yaml",
"content": "- name: Start a container with a couchdb\n become: yes\n docker_container:\n name: \"my-couchdb\"\n image: \"apache/couchdb:3.0\"\n ports:\n - \"5984:5984\"\n env:\n COUCHDB_PASSWORD: \"<PASSWORD>\"\n COUCHDB_... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 234,
"all_permissive": false
} |
ansible_role | rexding97/COMP90024CCC_ASS2 | a3d97c6ceca73c65fbd58dce293d067e85296c39 | 0 | ansible/roles/deploy-dash | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/deploy-dash/tasks/main.yaml",
"content": "- name: Update and upgrade apt packages\n become: true\n apt:\n upgrade: yes\n update_cache: yes\n\n- name: Install pexpect\n pip:\n name: ['pexpect']\n state: latest\n\n- name: Login Docker Hub\n ansible.builtin.expect:\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1097,
"all_permissive": false
} |
ansible_role | rexding97/COMP90024CCC_ASS2 | a3d97c6ceca73c65fbd58dce293d067e85296c39 | 0 | ansible/roles/openstack-instance | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/openstack-instance/templates/instance-ip.j2",
"content": "[instances]\n{% for item in os_instance.results %}\n{{ item.openstack.public_v4 }}\n{% endfor %}",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 97
},
{
"path": "ansible/roles/op... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": true
} | {
"file_count": 2,
"total_bytes": 1323,
"all_permissive": false
} |
ansible_role | rexding97/COMP90024CCC_ASS2 | a3d97c6ceca73c65fbd58dce293d067e85296c39 | 0 | ansible/roles/run-crawler | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/run-crawler/tasks/main.yaml",
"content": "- name: Delete nlp.model\n file:\n state: absent\n path: /home/ubuntu/COMPCOMP90024CCC_ASS2/crawler/sentiment_analysis/nlp.model\n\n- name: Delete ./word_tokenizer.pkl\n file:\n state: absent\n path: /home/ubuntu/COMPCOMP90024C... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 640,
"all_permissive": false
} |
ansible_role | rexding97/COMP90024CCC_ASS2 | a3d97c6ceca73c65fbd58dce293d067e85296c39 | 0 | ansible/roles/run-data-analysis | 7,643 | [
"no_license"
] | [
{
"path": "ansible/roles/run-data-analysis/tasks/main.yaml",
"content": "- name: Add env file\n become: yes\n copy:\n dest: /home/ubuntu/COMPCOMP90024CCC_ASS2/docker-topword/.env\n content: |\n URL=http://{{ groups['database'][0] }}:5984\n USERNAME={{ couchdb_user_name }}\n PASSWORD={... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 675,
"all_permissive": false
} |
ansible_role | gavieeen/precision-time-server | 3e53afcb4b4c0cd84d00373d4387be1457a38218 | 0 | ptp-time-server/ansible/roles/time_server | 7,641 | [
"no_license"
] | [
{
"path": "ptp-time-server/ansible/roles/time_server/templates/chrony.conf.j2",
"content": "# /etc/chrony/chrony.conf\n\n# Welcome to the chrony configuration file. See chrony.conf(5) for more\n# information about usable directives.\n\n# Include configuration files found in /etc/chrony/conf.d.\nconfdir /etc... | {
"task_files": 4,
"has_defaults": false,
"has_handlers": true,
"has_templates": true
} | {
"file_count": 9,
"total_bytes": 5485,
"all_permissive": false
} |
ansible_role | gregoriomelo/gitlab-digitalocean-playbook | 653f05c585182a2cdfd0f78f07d7e38c0f242f19 | 0 | roles/gitlab-droplet | 7,641 | [
"no_license"
] | [
{
"path": "roles/gitlab-droplet/defaults/main.yml",
"content": "---\n# defaults file for gitlab-droplet\n",
"license_type": "no_license",
"detected_licenses": [],
"size_bytes": 39
},
{
"path": "roles/gitlab-droplet/handlers/main.yml",
"content": "---\n# handlers file for gitlab-dropl... | {
"task_files": 1,
"has_defaults": true,
"has_handlers": true,
"has_templates": false
} | {
"file_count": 5,
"total_bytes": 1278,
"all_permissive": false
} |
ansible_role | gregoriomelo/gitlab-digitalocean-playbook | 653f05c585182a2cdfd0f78f07d7e38c0f242f19 | 0 | roles/secure | 7,641 | [
"no_license"
] | [
{
"path": "roles/secure/tasks/ufw.yml",
"content": "---\n- name: Install ufw.\n apt: name=ufw state=present\n\n- name: Setup ufw\n ufw: state=enabled policy=deny\n\n- name: Allow ssh traffic\n ufw: rule=allow port={{ item }} proto=tcp\n with_items:\n - 22\n - 80\n - 443\n\n",
"license_type"... | {
"task_files": 2,
"has_defaults": true,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 4,
"total_bytes": 1101,
"all_permissive": false
} |
ansible_role | justOne6/justone6-ansible | 25812db6da112db600eed326f8d4b5fd31318914 | 0 | playbooks/roles/backup-postgres | 7,641 | [
"no_license"
] | [
{
"path": "playbooks/roles/backup-postgres/README.md",
"content": "# Backup Postgres DATABASE\n\n## Configure \n\nFill **/vars/main.yml** :\n```\npg_name: your_database_name\npg_user: your_db_user\npg_password: <PASSWORD>\nbackup_path: /path/to/backup/directory\n```\n\nAdjust inventory file for your VPS.\n`... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 3,
"total_bytes": 1221,
"all_permissive": false
} |
ansible_role | justOne6/justone6-ansible | 25812db6da112db600eed326f8d4b5fd31318914 | 0 | playbooks/roles/docker | 7,641 | [
"no_license"
] | [
{
"path": "playbooks/roles/docker/tasks/main.yml",
"content": "---\n\n- name: Update apt package index\n ansible.builtin.apt:\n update_cache: yes\n force_apt_get: yes\n cache_valid_time: 3600\n\n- name: Install packages to allow apt to use a repository over HTTPS\n ansible.builtin.apt:\n name:... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 1220,
"all_permissive": false
} |
ansible_role | justOne6/justone6-ansible | 25812db6da112db600eed326f8d4b5fd31318914 | 0 | playbooks/roles/nginx | 7,641 | [
"no_license"
] | [
{
"path": "playbooks/roles/nginx/tasks/main.yml",
"content": "---\n- name: Check Nginx status\n command: nginx -v\n register: nginx_installed\n ignore_errors: yes\n\n- name: Display the result\n debug:\n msg: \"Nginx is already installed.\"\n when: nginx_installed.rc == 0\n\n- name: Install NGINX\n ... | {
"task_files": 1,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 1,
"total_bytes": 343,
"all_permissive": false
} |
ansible_role | wusher/ceremony | 2a38bb6e7802cb87b91ea9f29280480d58b34f74 | 0 | roles/common | 7,641 | [
"no_license"
] | [
{
"path": "roles/common/vars/dotfiles.yml",
"content": "---\ndotfile_repo: https://github.com/wusher/dot_files.git\ndotfiles_to_link: \n - gemrc\n - gitconfig\n - tmux.conf\n - vimrc \n - zshrc\nmisc_config_files:\n - dest: Library/Preferences/com.googlecode.iterm2.plist\n src: iterm2.plist\n",
... | {
"task_files": 9,
"has_defaults": false,
"has_handlers": false,
"has_templates": false
} | {
"file_count": 14,
"total_bytes": 7495,
"all_permissive": false
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.