dir_home: file.directory: - name: /home/netcore Package download: nexus.downloaded: - artifact: nexus_url: http://nexus.steamware.net/ repository: 'SWS/MP-STATS/stable/0/' artifact_id: 'MP.Stats' group_id: '/MP-STATS/stable/0' packaging: 'zip' classifier: 'winx64' username: 'SWDownloader' password: 'viaD@nte16' - target_dir: /home/netcore/ 'wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb': cmd.run 'dpkg -i packages-microsoft-prod.deb': cmd.run 'apt-get install apt-transport-https': cmd.run 'apt-get update': cmd.run 'apt-get install python3-software-properties': cmd.run package_nginx: pkg: - installed - name: nginx - force_yes: True package_mariadb: pkg: - installed - name: mariadb-server - force_yes: True package_redis: pkg: - installed - name: redis - force_yes: True package_netcore: pkg: - installed - name: dotnet-sdk-5.0 - force_yes: True /etc/nginx/sites-available/default: file.managed: - source: salt://netcore/nginx_conf/default - makedirs: true 'systemctl restart nginx': cmd.run 'reboot': cmd.run