* Fix metasplot install if /usr/local/bin is not active in path yet. Also use variables. * Use plocate on openSUSE. Supposed to be faster. Cannot have both m and p installed at the same time and p comes with the base system. * Include wheel group for user as well. * Finalize GNOME settings, go with RC commands instead of dconf module. * Add hostname to report files. * Add TBD for shared home situation. * Fix cron service for Fedora. * Disable the power button. * Fix Fedora ffmpeg issues. Move package modules from flatpak playbook. Uninstall firefox from package manager. * Enhance update function to handle shared home between multiple distributions. * Allow keeping local backups of files. * Replace flatpak repair check with accept flag instead of battery so that any automated update runs do the cleanup. * Begin hoarding settings files. * Start building out a FireFox profile. * Fix extra comment command in comment. * Add an All option to completely compress the entire directory. * Codium is still broken on all tested systems, hide from Favorites. * Add scipt to handle audio files. Also can convert to 432Hz. * Use cut instead of awk to get rid of first parameter. Fixes bugs when spaces are allowed in the filenames. * Enhancements and bugfix for "$freq". * Add playbook for desktop VPN clients. Start with Mullvad. * Add website to the seeded projects. * Add firmware updates to the update function. * Allow `fwupdmgr` to fail and have `update` still continue. * Shorten lines. * Uninstall DeltaChat. * Separate the firmware update into its own function. * Add alias for cloning one folder to another without using rm/cp. * Fix typo in rsync. * Go ahead and add extra options. * Make the files human readable size descriptions. * Remove unnecessary v, P does good enough.
		
			
				
	
	
		
			31 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
---
 | 
						|
# Nmap port test
 | 
						|
 | 
						|
- name: General | Tests | nmap | Set Facts
 | 
						|
  set_fact:
 | 
						|
    nmap_file: "{{ user_user.home }}/Reports/{{ ansible_hostname }}.{{ nmap_report }}"
 | 
						|
    nmap_separator: "\n*******************************\n"
 | 
						|
 | 
						|
- name: General | Tests | nmap | Set Facts 2
 | 
						|
  set_fact:
 | 
						|
    nmap_temp_file: "{{ nmap_file }}.tmp"
 | 
						|
 | 
						|
- name: General | Tests | nmap | Create Report
 | 
						|
  shell: "{{ item }}"
 | 
						|
  loop:
 | 
						|
    - "date > {{ nmap_temp_file }}"
 | 
						|
    - "printf '{{ nmap_separator }}' >> {{ nmap_temp_file }}"
 | 
						|
    - "echo '\n-=Open Ports=-\n' >> {{ nmap_temp_file }}"
 | 
						|
    - "printf 'Number of open ports: ' >> {{ nmap_temp_file }}"
 | 
						|
    - "nmap --open localhost | grep -c open >> {{ nmap_temp_file }}; echo success"
 | 
						|
    - "nmap --open localhost | grep open >> {{ nmap_temp_file }}; echo success"
 | 
						|
    - "printf '{{ nmap_separator }}' >> {{ nmap_temp_file }}"
 | 
						|
    - "echo '\n-=Aggressive Vulnerability Check=-\n' >> {{ nmap_temp_file }}"
 | 
						|
    - "nmap -A localhost >> {{ nmap_temp_file }}; echo success"
 | 
						|
    - "mv {{ nmap_temp_file }} {{ nmap_file }}"
 | 
						|
 | 
						|
- name: General | Tests | nmap | Make Viewable
 | 
						|
  file:
 | 
						|
    path: "{{ nmap_file }}"
 | 
						|
    mode: '0644'
 |